Start project PHP Back.

50% routes.
This commit is contained in:
2026-03-20 11:40:11 +01:00
parent fedbf51c91
commit c36b95a15f
13 changed files with 555 additions and 1 deletions

13
public/index.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
use App\Kernel;
if( !defined( 'APP_ROOT' ) )
/**
* Définit la racine de l'application en chemin absolue.
*/
define( 'APP_ROOT', realpath( __DIR__ . '/../') . '/' );
require_once '../src/Kernel.php';
Kernel::start();