summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-29 03:56:04 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-29 03:56:04 +0000
commit260f100100b65af045f0e8d29e479c181cc39b44 (patch)
treef95be4de3d71b698c25c8075fdfed52bfb9b04c7 /LedgerSMB
parentf32b69a43c4db05d68c3271dc6c099da6fc9ef27 (diff)
Relocate comment to corresponding code
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@370 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/Sysconfig.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm
index 9e4cf308..3c5cb348 100644
--- a/LedgerSMB/Sysconfig.pm
+++ b/LedgerSMB/Sysconfig.pm
@@ -53,10 +53,6 @@ my $globalDBConnect = 'dbi:Pg:dbname=ledgersmb;host=localhost;port=5432';
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 @@ if ($@){
#$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;