[-] BO: Fix the product indexation only on the default shop #PSCFV-5227

This commit is contained in:
Rémi Gaillard
2012-11-22 15:35:29 +01:00
parent 5dfa888b6f
commit c5f52bcf7c
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -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;