Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/v/e/r/verseaumee/quaadraa/ |
Upload File : |
<?php
define('ROOT_PATH', __DIR__);
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
ini_set('display_errors', 1);
error_reporting(E_ALL);
spl_autoload_register(function (string $class): void {
$path = ROOT_PATH . '/' . str_replace('\\', '/', $class) . '.php';
$path = str_replace('/App/', '/app/', $path);
if (file_exists($path)) {
require_once $path;
} else {
die("Classe introuvable : {$class} → {$path}");
}
});
$config = require ROOT_PATH . '/config.php';
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
$langService = new App\Core\Lang();
$router = new App\Core\Router($langService);
$router->dispatch();