[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5199] branches/1.3



Revision: 5199
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5199&view=rev
Author:   einhverfr
Date:     2012-11-16 12:56:41 +0000 (Fri, 16 Nov 2012)
Log Message:
-----------
Documenting cache_templates config option, and adding preceding . to COMPILE_EXT in HTML templates.

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/Template/HTML.pm
    branches/1.3/ledgersmb.conf.default

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-11-16 12:17:36 UTC (rev 5198)
+++ branches/1.3/Changelog	2012-11-16 12:56:41 UTC (rev 5199)
@@ -21,6 +21,7 @@
 * Fixed new window menu item not showing up (Erik H)
 * Fixed alignment issue on Contact screen on Chrome (Chris T)
 * Fixed cannot reconcile account with negative balance(Havard S, Erik H, h/t Nick P,3586757)
+* Documented cache_templates option in ledgersmb.conf (Chris T)
 
 Berend T is Berend Tober
 Chris T is Chris Travers

Modified: branches/1.3/LedgerSMB/Template/HTML.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/HTML.pm	2012-11-16 12:17:36 UTC (rev 5198)
+++ branches/1.3/LedgerSMB/Template/HTML.pm	2012-11-16 12:56:41 UTC (rev 5199)
@@ -131,7 +131,7 @@
 		DEBUG_FORMAT => '',
         }; 
         if ($LedgerSMB::Sysconfig::cache_templates){
-            $arghash->{COMPILE_EXT} = 'lttc';
+            $arghash->{COMPILE_EXT} = '.lttc';
             $arghash->{COMPILE_DIR} = $LedgerSMB::Sysconfig::cache_template_dir;
         } 
        

Modified: branches/1.3/ledgersmb.conf.default
===================================================================
--- branches/1.3/ledgersmb.conf.default	2012-11-16 12:17:36 UTC (rev 5198)
+++ branches/1.3/ledgersmb.conf.default	2012-11-16 12:56:41 UTC (rev 5199)
@@ -12,6 +12,11 @@
 # and selection.  An example might be /var/www/ledgersmb_css/
 fs_cssdir = css/
 
+# If set to a true value this caches templates.  Typically it will be set to 0 
+# to disable or 1 to enable.
+
+cache_templates = 0
+
 # Set language for login and admin pages
 language : en
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.