bebeboutik/modules/twenga/infos_update.php
Srv Bebeboutik 6c0978166c add modules
2016-01-04 12:49:26 +01: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';
?>