diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-07 06:07:18 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-07 06:07:18 +0000 |
commit | 2c60683b106fad0c3410ba30d669679955508958 (patch) | |
tree | 905a87d19e5ba5dd264ac7fef3a6c493d81506b6 /LedgerSMB/Sysconfig.pm | |
parent | 297c220ffce8d03f2ca8a196336d47d3754ce95c (diff) |
Login is still broken. However, a lot of progress has been made. THis also includes the COGS changes made since 1.2.8
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1712 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Sysconfig.pm')
-rw-r--r-- | LedgerSMB/Sysconfig.pm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm index e01618cc..b62651a6 100644 --- a/LedgerSMB/Sysconfig.pm +++ b/LedgerSMB/Sysconfig.pm @@ -116,17 +116,17 @@ for $var (qw(DBhost DBport DBname DBUserName 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 - $GLOBALDBH = DBI->connect($dbconnect); - if ( !$GLOBALDBH ) { - $form = new Form; - $form->error("No GlobalDBH Configured or Could not Connect"); - } - $GLOBALDBH->{pg_enable_utf8} = 1; -} +#if ( $config{globaldb}{DBname} ) { +# my $dbconnect = "dbi:Pg:dbname=$globalDBname host=$globalDBhost +# port=$globalDBport user=$globalDBUserName +# password=$globalDBPassword"; # for easier debugging +# $GLOBALDBH = DBI->connect($dbconnect); +# if ( !$GLOBALDBH ) { +# $form = new Form; +# $form->error("No GlobalDBH Configured or Could not Connect"); +# } +# $GLOBALDBH->{pg_enable_utf8} = 1; +#} # These lines prevent other apps in mod_perl from seeing the global db # connection info |