Start project PHP Back.
50% routes.
This commit is contained in:
13
public/index.php
Normal file
13
public/index.php
Normal 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();
|
||||
Reference in New Issue
Block a user