diff options
| author | polo <ordipolo@gmx.fr> | 2025-11-07 10:58:17 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-11-07 10:58:17 +0100 |
| commit | 63c37a85fc59bd8183ba22c9a87268df9cda25be (patch) | |
| tree | fba197addd021c5e36ed5a5ad218259b3e52b747 /src/model/Path.php | |
| parent | 3855f2dc3a0c1781cac46067351e2b7cbd8bf7c2 (diff) | |
| download | cms-63c37a85fc59bd8183ba22c9a87268df9cda25be.tar.gz cms-63c37a85fc59bd8183ba22c9a87268df9cda25be.tar.bz2 cms-63c37a85fc59bd8183ba22c9a87268df9cda25be.zip | |
petit oubli
Diffstat (limited to 'src/model/Path.php')
| -rw-r--r-- | src/model/Path.php | 2 |
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 | } |
