summaryrefslogtreecommitdiff
path: root/LedgerSMB/Sysconfig.pm
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-11-10 04:38:33 +0100
committerJonas Smedegaard <dr@jones.dk>2008-12-02 17:49:18 +0100
commit534811efaeead497f00cc976861af8512a7e6859 (patch)
tree1556daa4e193e1da1d6d752a1dd7e3ef6d7fac97 /LedgerSMB/Sysconfig.pm
parent126edd066746ce415510e049017e7aeb03b2869b (diff)
Simple socket-based Postgres login.
Diffstat (limited to 'LedgerSMB/Sysconfig.pm')
-rw-r--r--LedgerSMB/Sysconfig.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm
index 94d85a35..b87c2b13 100644
--- a/LedgerSMB/Sysconfig.pm
+++ b/LedgerSMB/Sysconfig.pm
@@ -123,9 +123,7 @@ $globalDBPassword = $config{globaldb}{DBPassword}
#putting this in an if clause for now so not to break other devel users
if ( $config{globaldb}{DBname} ) {
- my $dbconnect = "dbi:Pg:dbname=$globalDBname host=$globalDBhost
- port=$globalDBport user=$globalDBUserName
- password=$globalDBPassword"; # for easier debugging
+ my $dbconnect = "dbi:Pg:dbname=$globalDBname";
$GLOBALDBH = DBI->connect($dbconnect);
if ( !$GLOBALDBH ) {
$form = new Form;