summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LedgerSMB/Sysconfig.pm5
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;