bebeboutik/modules/twenga/infos_update.php

28 lines
436 B
PHP
Raw Normal View History

2016-01-04 12:49:26 +01:00
<?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';
?>