aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-11-02 20:08:52 +0100
committerpolo <ordipolo@gmx.fr>2025-11-02 20:08:52 +0100
commit28d300b48ded1d472d3593f3afc0c71c4fd2e0aa (patch)
treee8c3a19c3d6d45126837275eee412ef44e046f96 /public
parentb9a5dd61e04ba09be0ffba300bd1da49e4de090c (diff)
downloadcms-28d300b48ded1d472d3593f3afc0c71c4fd2e0aa.tar.gz
cms-28d300b48ded1d472d3593f3afc0c71c4fd2e0aa.tar.bz2
cms-28d300b48ded1d472d3593f3afc0c71c4fd2e0aa.zip
blocage suppression dernière page, page par défaut = première entrée du menu et non plus "accueil"
Diffstat (limited to 'public')
-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