From 63c37a85fc59bd8183ba22c9a87268df9cda25be Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 7 Nov 2025 10:58:17 +0100 Subject: petit oubli --- src/model/Path.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/model') 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 } // rien trouvé - // pas parfait, échoue si le premier enfant de "children" n'est pas au premier niveau - // est-ce que ça peut arriver? header('Location: '. new URL(['page' => Model::$menu->getChildren()[0]->getEndOfPath()])); die; } -- cgit v1.2.3