// cache
This commit is contained in:
1 parent
c2857add42
commit
b2a9ec57bf
1 file changed
+4
-1
@@ -359,6 +359,9 @@ abstract class ControllerCore
|
|||||||
|
|
||||||
protected function isCached($template, $cacheId = null, $compileId = null)
|
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