Files
PrestaShop/modules/twenga/infos_update.php
T
aFolletete 10445ad61d // 1.5 branche creation
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@5881 b9a71923-0436-4b27-9f14-aed3839534dd
2011-04-12 18:24:40 +00:00

28 lines
436 B
PHP
Executable File

<?php
$configPath = '../../config/config.inc.php';
if (file_exists($configPath))
{
include('../../config/config.inc.php');
$controller = new FrontController();
$controller->init();
if (file_exists(dirname(__FILE__).'/twenga.php'))
{
include(dirname(__FILE__).'/twenga.php');
$t = new twenga();
$t->ajaxRequestType();
unset($t);
}
else
echo 'Class module wasn\'t found';
}
else
echo 'Config file is missing';
?>