// cache
This commit is contained in:
@@ -359,6 +359,9 @@ abstract class ControllerCore
|
||||
|
||||
protected function isCached($template, $cacheId = null, $compileId = null)
|
||||
{
|
||||
return $this->context->smarty->isCached($template, $cacheId, $compileId);
|
||||
Tools::enableCache();
|
||||
$res = $this->context->smarty->isCached($template, $cacheId, $compileId);
|
||||
Tools::restoreCacheSettings();
|
||||
return $res;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user