[-] FO: Fix cookie problem when accessing not accessing to the shop with the main url
This commit is contained in:
@@ -330,10 +330,6 @@ class ShopCore extends ObjectModel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Optimization - don't redirect and allow WS and other script to work
|
|
||||||
if (!$id_shop)
|
|
||||||
$id_shop = Configuration::get('PS_SHOP_DEFAULT');
|
|
||||||
|
|
||||||
// If an URL was found but is not the main URL, redirect to main URL
|
// If an URL was found but is not the main URL, redirect to main URL
|
||||||
if ($id_shop && !$is_main_uri)
|
if ($id_shop && !$is_main_uri)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user