Initial clean version

This commit is contained in:
root
2026-11-11 09:24:28 +01:00
commit ab58b33f9c
156 changed files with 5697 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
require dirname(__DIR__).'/bootstrap.php';
header('X-Content-Type-Options: nosniff');
header('X-Frame-Options: DENY');
header('Referrer-Policy: same-origin');
header("Content-Security-Policy: default-src 'self'; style-src 'self'; script-src 'self'; img-src 'self' data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'");
header('Cache-Control: no-store');
App\Auth::start();
try {(new App\Application())->run();}
catch(Throwable $e){error_log((string)$e);http_response_code(500);echo '<!doctype html><html lang="fr"><meta charset="utf-8"><title>ESBSC</title><p>Le service est indisponible. Consultez les journaux du serveur et vérifiez la migration de la base.</p></html>';}