fix: resolve broken lib/ require paths in admin and normalise modern-normalize to .min.css

This commit is contained in:
Pontoporeia
2026-02-24 23:19:18 +01:00
parent da53d56744
commit d30153871f
13 changed files with 21 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
<?php
// Bootstrap application
require_once __DIR__ . "/../../config/bootstrap.php";
require_once __DIR__ . '/../../lib/AdminAuth.php';
require_once __DIR__ . '/../../src/AdminAuth.php';
// PHP-level auth guard (defence-in-depth behind nginx Basic Auth)
AdminAuth::requireLogin();
@@ -13,7 +13,7 @@ if (empty($_SESSION["csrf_token"])) {
$pageTitle = "Ajout de TFE";
// Load database helper
require_once __DIR__ . '/../../lib/Database.php';
require_once __DIR__ . '/../../src/Database.php';
try {
$db = new Database();