ajout namespace spécifique
This commit is contained in:
@@ -4,17 +4,15 @@
|
||||
* Loading path constant
|
||||
*/
|
||||
define('DS', DIRECTORY_SEPARATOR);
|
||||
define('ROOT', dirname(dirname(__FILE__)));
|
||||
|
||||
define('ROOT', dirname(dirname(__FILE__)));
|
||||
|
||||
/**
|
||||
* Enable autoload
|
||||
*/
|
||||
require_once ROOT . DS . 'vendor'. DS . 'autoload.php';
|
||||
|
||||
|
||||
// start application
|
||||
$app = new \App\Core\Kernel\Application();
|
||||
$app = new \Kletellier\MiniWeb\Core\Kernel\Application();
|
||||
|
||||
// Handle Url and render Response
|
||||
$app->handle();
|
||||
Reference in New Issue
Block a user