Initial clean version
This commit is contained in:
@@ -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>';}
|
||||
Reference in New Issue
Block a user