diff options
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 2 |
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 | ||
| 65 | define('CURRENT_PAGE', htmlspecialchars($request->query->get('page') ?? 'accueil')); | 65 | define('CURRENT_PAGE', htmlspecialchars($request->query->get('page') ?? '')); |
| 66 | require '../src/router.php'; \ No newline at end of file | 66 | require '../src/router.php'; \ No newline at end of file |
