[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4930] trunk/LedgerSMB/Sysconfig.pm
- Subject: SF.net SVN: ledger-smb:[4930] trunk/LedgerSMB/Sysconfig.pm
- From: ..hidden..
- Date: Wed, 20 Jun 2012 10:46:45 +0000
Revision: 4930
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4930&view=rev
Author: einhverfr
Date: 2012-06-20 10:46:45 +0000 (Wed, 20 Jun 2012)
Log Message:
-----------
Fixing main config area handling, which was causing global variables not to be set in Sysconfig
Modified Paths:
--------------
trunk/LedgerSMB/Sysconfig.pm
Modified: trunk/LedgerSMB/Sysconfig.pm
===================================================================
--- trunk/LedgerSMB/Sysconfig.pm 2012-06-20 10:27:24 UTC (rev 4929)
+++ trunk/LedgerSMB/Sysconfig.pm 2012-06-20 10:46:45 UTC (rev 4930)
@@ -105,12 +105,12 @@
# Root variables
for my $var (
- qw(pathsep log_level DBI_TRACE check_max_invoices language auth latex
+ qw(pathsep log_level cssdir DBI_TRACE check_max_invoices language auth latex
db_autoupdate force_username_case max_post_size decimal_places cookie_name
- return_accno no_db_str tempdir cache_templates cssdir fs_cssdir)
+ return_accno no_db_str tempdir cache_templates fs_cssdir)
)
{
- ${$var} = $config{'main'}{$var} if $config{$var};
+ ${$var} = $config{'main'}{$var} if $config{'main'}{$var};
}
if ($cssdir !~ m|/$|){
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.