21 lines
533 B
PHP
21 lines
533 B
PHP
<?php
|
|
/**
|
|
* @author Web In Color - addons@webincolor.fr
|
|
* @version 1.0
|
|
* @uses Prestashop modules
|
|
* @since 1.0 - 10 août 2013
|
|
* @package ekomi
|
|
* @copyright Copyright © 2013, Web In Color
|
|
*/
|
|
|
|
include_once(dirname(__FILE__).'/../../../config/config.inc.php');
|
|
include_once(dirname(__FILE__).'/../../../init.php');
|
|
include_once(dirname(__FILE__).'/../ekomi.php');
|
|
|
|
if(!Tools::getValue('token') || Tools::getValue('token') != Tools::getAdminToken('eKomi'))
|
|
die('error');
|
|
|
|
$ekomi = new Ekomi();
|
|
$ekomi->cronSendEmail();
|
|
|
|
?>
|