summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/Sysconfig.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm
index 7c40ca2c..9e4cf308 100644
--- a/LedgerSMB/Sysconfig.pm
+++ b/LedgerSMB/Sysconfig.pm
@@ -53,18 +53,19 @@ my $globalDBConnect = 'dbi:Pg:dbname=ledgersmb;host=localhost;port=5432';
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;