[-] BO: Fix the product indexation only on the default shop #PSCFV-5227
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
include(dirname(__FILE__).'/../config/config.inc.php');
|
||||
Context::getContext()->shop->setContext(Shop::CONTEXT_ALL);
|
||||
|
||||
if (substr(_COOKIE_KEY_, 34, 8) != Tools::getValue('token'))
|
||||
die;
|
||||
|
||||
Reference in New Issue
Block a user