// removing cookie from product customization
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7680 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+3
-4
@@ -1861,7 +1861,7 @@ FileETag INode MTime Size
|
||||
{
|
||||
if (!$context)
|
||||
$context = Context::getContext();
|
||||
$smarty = $context->controller->smarty;
|
||||
$smarty = $context->smarty;
|
||||
if (!Configuration::get('PS_SMARTY_CACHE'))
|
||||
return;
|
||||
if ($smarty->force_compile == 0 AND $smarty->caching == $level)
|
||||
@@ -1876,12 +1876,11 @@ FileETag INode MTime Size
|
||||
{
|
||||
if (!$context)
|
||||
$context = Context::getContext();
|
||||
$smarty = $context->controller->smarty;
|
||||
|
||||
if (isset(self::$_forceCompile))
|
||||
$smarty->force_compile = (int)(self::$_forceCompile);
|
||||
$context->smarty->force_compile = (int)(self::$_forceCompile);
|
||||
if (isset(self::$_caching))
|
||||
$smarty->caching = (int)(self::$_caching);
|
||||
$context->smarty->caching = (int)(self::$_caching);
|
||||
}
|
||||
|
||||
public static function isCallable($function)
|
||||
|
||||
Reference in New Issue
Block a user