bebeboutik/modules/treepodia/api/get_data_feed.php
Srv Bebeboutik 6c0978166c add modules
2016-01-04 12:49:26 +01:00

20 lines
447 B
PHP
Executable File

<?php
include(dirname(__FILE__).'/../../../config/config.inc.php');
include(dirname(__FILE__).'/../../../init.php');
$token = Tools::getValue('token');
$realToken = Configuration::get('TREEPODIA_TOKEN');
if ($token AND $token === $realToken)
{
@set_time_limit(3600);
@ini_set("memory_limit", "64M");
include(dirname(__FILE__).'/../treepodia.php');
$treepodia = new Treepodia();
$treepodia->generateXmlFlow();
}
else
die ('Bad token');
?>