diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-09 20:29:45 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-09 20:29:45 +0000 |
commit | 259a5bc1a9bb9f42f6816f913c170bb3b814eab6 (patch) | |
tree | 94d40f0270f952d0724db5ef8ce4fdb203350b3e /LedgerSMB | |
parent | 39833937998c0553f091605486d28472126ba006 (diff) |
Correcting $default_db name
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1729 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/Sysconfig.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm index f8f009e9..10d1b3b9 100644 --- a/LedgerSMB/Sysconfig.pm +++ b/LedgerSMB/Sysconfig.pm @@ -9,6 +9,7 @@ use Config::Std; use DBI qw(:sql_types); binmode STDOUT, ':utf8'; +binmode STDERR, ':utf8'; # For Win32, change $pathsep to ';'; $pathsep = ':'; @@ -133,6 +134,6 @@ for $var (qw(DBhost DBport DBname DBUserName DBPassword)) { $ENV{PGHOST} = $config{database}{host}; $ENV{PGPORT} = $config{database}{port}; -our $defaultdb = $config{database}{default_db}; +our $default_db = $config{database}{default_db}; 1; |