fixed f5565a91 template caching ssettings

This commit is contained in:
following
2013-07-15 00:54:15 +02:00
parent 0e84773211
commit 7789ca955e
3 changed files with 3 additions and 9 deletions
-4
View File
@@ -62,12 +62,8 @@ class OcSmarty extends Smarty
$this->load_filter('output', 'session');
// cache control
/* This will make templates with many includes (e.g. search result list,
images galleries ..) VERY slow, and it is not necessary - auto-compile
when file time is touched will work find. -- following 2013/7/13
if (($opt['debug'] & DEBUG_TEMPLATES) == DEBUG_TEMPLATES)
$this->force_compile = true;
*/
// process debug level
if (($opt['debug'] & DEBUG_SQLDEBUGGER) == DEBUG_SQLDEBUGGER)