From 9e6afc997a0cb68c93f948ec504a0d0c26d3254f Mon Sep 17 00:00:00 2001 From: Gregory Letellier Date: Tue, 14 Nov 2023 08:58:44 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20namespace=20sp=C3=A9cifique?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/public/index.php b/public/index.php index f6468d8..7d29678 100644 --- a/public/index.php +++ b/public/index.php @@ -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(); \ No newline at end of file