diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-24 16:28:46 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-24 16:28:46 +0000 |
commit | e29b7e69171ae4faa116f00f0d55e6bf9a6438a4 (patch) | |
tree | ed8494a9b0a109b97dc20d70bef495b8997ff679 /LedgerSMB | |
parent | 2c4d43494bb6329bbb24a8355c8d0deaa9ba0ccb (diff) |
Now Sysconfig will allow ledger-smb.conf variables to override its settings.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@290 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/Sysconfig.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm index 5b67b690..85d9b359 100644 --- a/LedgerSMB/Sysconfig.pm +++ b/LedgerSMB/Sysconfig.pm @@ -62,6 +62,9 @@ my $globalDBConnect = undef; my $globalUserName = undef; my $globalPassword = undef; - +eval { require "ledger-smb.conf"; }; +if ($@){ + print STDERR "Parsing ledger-smb.conf failed: $@"; +} 1; |