ajout namespace spécifique

This commit is contained in:
Gregory Letellier
2023-11-14 08:58:44 +01:00
parent 9eeb3d353d
commit 9e6afc997a

View File

@@ -6,15 +6,13 @@
define('DS', DIRECTORY_SEPARATOR); define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(dirname(__FILE__))); define('ROOT', dirname(dirname(__FILE__)));
/** /**
* Enable autoload * Enable autoload
*/ */
require_once ROOT . DS . 'vendor'. DS . 'autoload.php'; require_once ROOT . DS . 'vendor'. DS . 'autoload.php';
// start application // start application
$app = new \App\Core\Kernel\Application(); $app = new \Kletellier\MiniWeb\Core\Kernel\Application();
// Handle Url and render Response // Handle Url and render Response
$app->handle(); $app->handle();