// 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:
tDidierjean
2011-07-21 14:38:04 +00:00
parent ff2df3e3b3
commit 462c362191
48 changed files with 421 additions and 348 deletions
+3 -4
View File
@@ -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)