[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [290] trunk/LedgerSMB/Sysconfig.pm
- Subject: SF.net SVN: ledger-smb: [290] trunk/LedgerSMB/Sysconfig.pm
- From: ..hidden..
- Date: Tue, 24 Oct 2006 09:28:48 -0700
Revision: 290
http://svn.sourceforge.net/ledger-smb/?rev=290&view=rev
Author: einhverfr
Date: 2006-10-24 09:28:46 -0700 (Tue, 24 Oct 2006)
Log Message:
-----------
Now Sysconfig will allow ledger-smb.conf variables to override its settings.
Modified Paths:
--------------
trunk/LedgerSMB/Sysconfig.pm
Modified: trunk/LedgerSMB/Sysconfig.pm
===================================================================
--- trunk/LedgerSMB/Sysconfig.pm 2006-10-24 14:54:25 UTC (rev 289)
+++ trunk/LedgerSMB/Sysconfig.pm 2006-10-24 16:28:46 UTC (rev 290)
@@ -62,6 +62,9 @@
my $globalUserName = undef;
my $globalPassword = undef;
+eval { require "ledger-smb.conf"; };
+if ($@){
+ print STDERR "Parsing ledger-smb.conf failed: $@";
+}
-
1;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.