* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 7001 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ include(dirname(__FILE__).'/../../config/config.inc.php'); include(dirname(__FILE__).'/../../init.php'); include(dirname(__FILE__) .'/trustedshops.php'); if (isset($_GET['secure_key']) AND !empty($_GET['secure_key']) AND Configuration::get(TSBuyerProtection::PREFIX_TABLE.'SECURE_KEY') == $_GET['secure_key']) { $ts_module = new TrustedShops(); TSBuyerProtection::setTranslationObject($ts_module); $bp = new TSBuyerProtection(); $bp->setModuleName($ts_module->name); $bp->cronTask(); }