[-] Add a new option in admin preference to recompile smarty templates only when they are updated

This commit is contained in:
rMalie
2011-08-09 16:25:40 +00:00
parent 17c74058e9
commit 257b8e40cc
6 changed files with 41 additions and 46 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class AdminHome extends AdminTab
$indexRebuiltAfterUpdate = 2;
$smartyOptimized = 0;
if (!Configuration::get('PS_SMARTY_FORCE_COMPILE'))
if (Configuration::get('PS_SMARTY_FORCE_COMPILE') == _PS_SMARTY_NO_COMPILE_)
++$smartyOptimized;
if (Configuration::get('PS_SMARTY_CACHE'))
++$smartyOptimized;