pour prod

This commit is contained in:
Loic Masi
2026-08-07 16:13:43 +02:00
commit 5fbf76868f
157 changed files with 24085 additions and 0 deletions

17
index.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
require_once __DIR__ . '/app/autoload.php';
use App\Core\Access;
try {
$pdo = require __DIR__ . '/app/bootstrap.php';
$access = new Access($pdo);
header('Location: ' . ($access->isConfigured() ? $access->homeUrl() : 'role.php'), true, 302);
exit;
} catch (Throwable) {
header('Location: role.php', true, 302);
exit;
}