Files
PrestaShop/modules/blocklayered/blocklayered-attribute-indexer.php
mDeflotte 9136bc5ddb // Blocklayered Fix bug with SSL
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12926 b9a71923-0436-4b27-9f14-aed3839534dd
2012-02-02 10:48:48 +00:00

10 lines
331 B
PHP

<?php
include(dirname(__FILE__).'/../../config/config.inc.php');
include(dirname(__FILE__).'/blocklayered.php');
if (substr(Tools::encrypt('blocklayered/index'),0,10) != Tools::getValue('token') || !Module::isInstalled('blocklayered'))
die('Bad token');
$blockLayered = new BlockLayered();
echo $blockLayered->indexAttribute();