Files
miniweb/public/index.php
Gregory Letellier 80aeacdade Init
2023-11-08 16:59:13 +01:00

20 lines
326 B
PHP

<?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();