From 260f100100b65af045f0e8d29e479c181cc39b44 Mon Sep 17 00:00:00 2001 From: tetragon Date: Sun, 29 Oct 2006 03:56:04 +0000 Subject: Relocate comment to corresponding code git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@370 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Sysconfig.pm | 7 +++---- 1 file 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; -- cgit v1.2.3