diff options
author | polo <ordipolo@gmx.fr> | 2025-05-11 17:45:14 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-05-11 17:45:14 +0200 |
commit | 6ddffd80053e268789f1b168ff3a8ee223681e47 (patch) | |
tree | 7539761c4454d9ff8c92e1d4e64a7da0c103c21b /public | |
parent | 4efa19d4357ab204d62397f1849e4651906e0e70 (diff) | |
download | cms-6ddffd80053e268789f1b168ff3a8ee223681e47.zip |
création de page
Diffstat (limited to 'public')
-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 9f930fd..aa080c4 100644 --- a/public/index.php +++ b/public/index.php | |||
@@ -61,7 +61,7 @@ elseif(isset($_GET['action']) && $_GET['action'] === 'modif_mdp') | |||
61 | changePassword($entityManager); | 61 | changePassword($entityManager); |
62 | } | 62 | } |
63 | elseif($_SESSION['admin'] && isset($_GET['page']) && isset($_GET['action']) && $_GET['action'] === 'modif_page' | 63 | elseif($_SESSION['admin'] && isset($_GET['page']) && isset($_GET['action']) && $_GET['action'] === 'modif_page' |
64 | && $_GET['page'] !== 'connexion' && $_GET['page'] !== 'article' && $_GET['page'] !== 'menu_chemins') | 64 | && $_GET['page'] !== 'connexion' && $_GET['page'] !== 'article' && $_GET['page'] !== 'nouvelle_page' && $_GET['page'] !== 'menu_chemins') |
65 | { | 65 | { |
66 | // les contrôles de la 2è ligne devraient utiliser un tableau | 66 | // les contrôles de la 2è ligne devraient utiliser un tableau |
67 | MainBuilder::$modif_mode = true; | 67 | MainBuilder::$modif_mode = true; |