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

SF.net SVN: ledger-smb: [369] trunk/LedgerSMB/Sysconfig.pm



Revision: 369
          http://svn.sourceforge.net/ledger-smb/?rev=369&view=rev
Author:   einhverfr
Date:     2006-10-28 20:45:40 -0700 (Sat, 28 Oct 2006)

Log Message:
-----------
fixed process ordering that prevented Sysconfig from properly taking the globalusername, etc in the ledger-smb.conf

Modified Paths:
--------------
    trunk/LedgerSMB/Sysconfig.pm

Modified: trunk/LedgerSMB/Sysconfig.pm
===================================================================
--- trunk/LedgerSMB/Sysconfig.pm	2006-10-29 03:43:16 UTC (rev 368)
+++ trunk/LedgerSMB/Sysconfig.pm	2006-10-29 03:45:40 UTC (rev 369)
@@ -53,18 +53,19 @@
 my $globalUserName = "ledgersmb";
 my $globalPassword = "set me to correct password";
 
-#$GLOBALDBH = DBI->connect($globalDBConnect, $globalDBUserName, $globalDBPassword); 
 
 # These lines prevent other apps in mod_perl from seeing the global db 
 # connection info
 
-my $globalDBConnect = undef;
-my $globalUserName = undef;
-my $globalPassword = undef;
-
 eval { require "ledger-smb.conf"; };
 if ($@){
 	print STDERR "Parsing ledger-smb.conf failed: $@";
 }
 
+#$GLOBALDBH = DBI->connect($globalDBConnect, $globalDBUserName, $globalDBPassword); 
+
+my $globalDBConnect = undef;
+my $globalUserName = undef;
+my $globalPassword = undef;
+
 1;


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