[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [370] trunk/LedgerSMB/Sysconfig.pm
- Subject: SF.net SVN: ledger-smb: [370] trunk/LedgerSMB/Sysconfig.pm
- From: ..hidden..
- Date: Sat, 28 Oct 2006 20:56:06 -0700
Revision: 370
http://svn.sourceforge.net/ledger-smb/?rev=370&view=rev
Author: tetragon
Date: 2006-10-28 20:56:04 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Relocate comment to corresponding code
Modified Paths:
--------------
trunk/LedgerSMB/Sysconfig.pm
Modified: trunk/LedgerSMB/Sysconfig.pm
===================================================================
--- trunk/LedgerSMB/Sysconfig.pm 2006-10-29 03:45:40 UTC (rev 369)
+++ trunk/LedgerSMB/Sysconfig.pm 2006-10-29 03:56:04 UTC (rev 370)
@@ -53,10 +53,6 @@
my $globalUserName = "ledgersmb";
my $globalPassword = "set me to correct password";
-
-# These lines prevent other apps in mod_perl from seeing the global db
-# connection info
-
eval { require "ledger-smb.conf"; };
if ($@){
print STDERR "Parsing ledger-smb.conf failed: $@";
@@ -64,6 +60,9 @@
#$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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.