[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [529] trunk/bin/login.pl



Revision: 529
          http://svn.sourceforge.net/ledger-smb/?rev=529&view=rev
Author:   einhverfr
Date:     2006-11-12 11:12:16 -0800 (Sun, 12 Nov 2006)

Log Message:
-----------
Added error handling to missing GlobalDBH case

Modified Paths:
--------------
    trunk/bin/login.pl

Modified: trunk/bin/login.pl
===================================================================
--- trunk/bin/login.pl	2006-11-12 19:01:17 UTC (rev 528)
+++ trunk/bin/login.pl	2006-11-12 19:12:16 UTC (rev 529)
@@ -265,6 +265,9 @@
 	#}
 
 
+	if (!${LedgerSMB::Sysconfig::GLOBALDBH}){
+		$locale->text("No GlobalDBH Configured or Could not Connect");
+	}
 	$user = LedgerSMB::User->new($form->{login});
 
 	# if we get an error back, bale out


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.