summaryrefslogtreecommitdiff
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 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}
63elseif($_SESSION['admin'] && isset($_GET['page']) && isset($_GET['action']) && $_GET['action'] === 'modif_page' 63elseif($_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;