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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7976 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2011-08-09 16:25:40 +00:00
1 parent d61637c5e5
commit 671162a5f5
6 files changed
+41 -46

No files matched your search

+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;