[*] MO: Add smarty cache on some modules
This commit is contained in:
1 parent
1f7ab4f172
commit
cd89916a20
14 files changed
+136
-95
No files matched your search
@@ -1830,6 +1830,7 @@ exit;
|
||||
self::$_caching = (int)$smarty->caching;
|
||||
$smarty->force_compile = 0;
|
||||
$smarty->caching = (int)$level;
|
||||
$smarty->cache_lifetime = 31536000; // 1 Year
|
||||
}
|
||||
|
||||
public static function restoreCacheSettings(Context $context = null)
|
||||
|
||||
Reference in new issue
Block a user