From 28d300b48ded1d472d3593f3afc0c71c4fd2e0aa Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 2 Nov 2025 20:08:52 +0100 Subject: =?UTF-8?q?blocage=20suppression=20derni=C3=A8re=20page,=20page=20?= =?UTF-8?q?par=20d=C3=A9faut=20=3D=20premi=C3=A8re=20entr=C3=A9e=20du=20me?= =?UTF-8?q?nu=20et=20non=20plus=20"accueil"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/index.php b/public/index.php index 61fa01f..b5b1f7e 100644 --- a/public/index.php +++ b/public/index.php @@ -62,5 +62,5 @@ if($_SESSION['admin'] === false || empty($_SESSION['user'])){ // OUT !! /* -- partie 2: routage et contrôleurs -- */ -define('CURRENT_PAGE', htmlspecialchars($request->query->get('page') ?? 'accueil')); +define('CURRENT_PAGE', htmlspecialchars($request->query->get('page') ?? '')); require '../src/router.php'; \ No newline at end of file -- cgit v1.2.3