aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-11-07 10:58:17 +0100
committerpolo <ordipolo@gmx.fr>2025-11-07 10:58:17 +0100
commit63c37a85fc59bd8183ba22c9a87268df9cda25be (patch)
treefba197addd021c5e36ed5a5ad218259b3e52b747 /src/model
parent3855f2dc3a0c1781cac46067351e2b7cbd8bf7c2 (diff)
downloadcms-63c37a85fc59bd8183ba22c9a87268df9cda25be.tar.gz
cms-63c37a85fc59bd8183ba22c9a87268df9cda25be.tar.bz2
cms-63c37a85fc59bd8183ba22c9a87268df9cda25be.zip
petit oubli
Diffstat (limited to 'src/model')
-rw-r--r--src/model/Path.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/model/Path.php b/src/model/Path.php
index 0b4bb67..4303952 100644
--- a/src/model/Path.php
+++ b/src/model/Path.php
@@ -51,8 +51,6 @@ class Path extends Page
51 } 51 }
52 52
53 // rien trouvé 53 // rien trouvé
54 // pas parfait, échoue si le premier enfant de "children" n'est pas au premier niveau
55 // est-ce que ça peut arriver?
56 header('Location: '. new URL(['page' => Model::$menu->getChildren()[0]->getEndOfPath()])); 54 header('Location: '. new URL(['page' => Model::$menu->getChildren()[0]->getEndOfPath()]));
57 die; 55 die;
58 } 56 }