aboutsummaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php2
1 files changed, 1 insertions, 1 deletions
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 !!
62 62
63/* -- partie 2: routage et contrôleurs -- */ 63/* -- partie 2: routage et contrôleurs -- */
64 64
65define('CURRENT_PAGE', htmlspecialchars($request->query->get('page') ?? 'accueil')); 65define('CURRENT_PAGE', htmlspecialchars($request->query->get('page') ?? ''));
66require '../src/router.php'; \ No newline at end of file 66require '../src/router.php'; \ No newline at end of file