From 6ddffd80053e268789f1b168ff3a8ee223681e47 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 11 May 2025 17:45:14 +0200 Subject: =?UTF-8?q?cr=C3=A9ation=20de=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') 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') changePassword($entityManager); } elseif($_SESSION['admin'] && isset($_GET['page']) && isset($_GET['action']) && $_GET['action'] === 'modif_page' - && $_GET['page'] !== 'connexion' && $_GET['page'] !== 'article' && $_GET['page'] !== 'menu_chemins') + && $_GET['page'] !== 'connexion' && $_GET['page'] !== 'article' && $_GET['page'] !== 'nouvelle_page' && $_GET['page'] !== 'menu_chemins') { // les contrôles de la 2è ligne devraient utiliser un tableau MainBuilder::$modif_mode = true; -- cgit v1.2.3