This commit is contained in:
Gregory Letellier
2023-11-08 16:59:13 +01:00
commit 80aeacdade
19 changed files with 5673 additions and 0 deletions

20
public/index.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
/**
* Loading path constant
*/
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(dirname(__FILE__)));
/**
* Enable autoload
*/
require_once ROOT . DS . 'vendor'. DS . 'autoload.php';
// start application
$app = new \App\Core\Kernel\Application();
// Handle Url and render Response
$app->handle();