// Cookies subdomain & bug fix on stocks

This commit is contained in:
rGaillard
2012-06-21 16:11:30 +00:00
parent 5040e9539d
commit cc441b4c1b
4 changed files with 43 additions and 9 deletions
+1 -2
View File
@@ -116,10 +116,9 @@ if (defined('_PS_ADMIN_DIR_'))
else
{
if (Context::getContext()->shop->getGroup()->share_order)
$cookie = new Cookie('ps-sg'.Context::getContext()->shop->getGroup()->id, '', $cookieLifetime);
$cookie = new Cookie('ps-sg'.Context::getContext()->shop->getGroup()->id, '', $cookieLifetime, Context::getContext()->shop->getUrlsSharedCart());
else
$cookie = new Cookie('ps-s'.Context::getContext()->shop->id, '', $cookieLifetime);
}
Context::getContext()->cookie = $cookie;