aboutsummaryrefslogtreecommitdiff
path: root/src/controller
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-11-03 15:12:23 +0100
committerpolo <ordipolo@gmx.fr>2025-11-03 15:12:23 +0100
commit3855f2dc3a0c1781cac46067351e2b7cbd8bf7c2 (patch)
tree630164d3b406a8347785695dafa30860f3851f88 /src/controller
parent4c9786a3faf12f423b2431883bc23c07c84fc7c0 (diff)
downloadcms-3855f2dc3a0c1781cac46067351e2b7cbd8bf7c2.tar.gz
cms-3855f2dc3a0c1781cac46067351e2b7cbd8bf7c2.tar.bz2
cms-3855f2dc3a0c1781cac46067351e2b7cbd8bf7c2.zip
regression renommage new_page et menu_paths
Diffstat (limited to 'src/controller')
-rw-r--r--src/controller/ViewController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller/ViewController.php b/src/controller/ViewController.php
index 0f21118..9139dd4 100644
--- a/src/controller/ViewController.php
+++ b/src/controller/ViewController.php
@@ -23,7 +23,7 @@ class ViewController extends AbstractBuilder // ViewController est aussi le prem
23 // mode modification d'une page 23 // mode modification d'une page
24 if($_SESSION['admin'] 24 if($_SESSION['admin']
25 && $request->query->has('mode') && $request->query->get('mode') === 'page_modif' 25 && $request->query->has('mode') && $request->query->get('mode') === 'page_modif'
26 && !in_array(CURRENT_PAGE, ['article', 'nouvelle_page', 'menu_chemins', 'user_edit', 'connection'])) 26 && !in_array(CURRENT_PAGE, ['article', 'new_page', 'menu_paths', 'user_edit', 'connection']))
27 { 27 {
28 MainBuilder::$modif_mode = true; 28 MainBuilder::$modif_mode = true;
29 } 29 }