diff options
author | polo <ordipolo@gmx.fr> | 2025-04-07 07:46:27 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-04-07 07:46:27 +0200 |
commit | 09bea09c8157ff45279f0d06aa9d313448c0bec5 (patch) | |
tree | 4f79c47678df12cb508607be040050c8f08455aa /src/model/Path.php | |
parent | 022d0c36258c874a21a36e207ae89aa8d91e44a1 (diff) | |
download | cms-09bea09c8157ff45279f0d06aa9d313448c0bec5.zip |
nouvelle "news"
Diffstat (limited to 'src/model/Path.php')
-rw-r--r-- | src/model/Path.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/model/Path.php b/src/model/Path.php index 6faadfd..11be6fe 100644 --- a/src/model/Path.php +++ b/src/model/Path.php | |||
@@ -17,12 +17,6 @@ class Path extends Page | |||
17 | $this->findPage(Director::$menu_data, $path_array); // remplit $this->current_page | 17 | $this->findPage(Director::$menu_data, $path_array); // remplit $this->current_page |
18 | } | 18 | } |
19 | catch(Exception $e){} | 19 | catch(Exception $e){} |
20 | /*echo "nb d'autres pages: " . count(Director::$menu_data->getOtherPages()) . '<br>'; | ||
21 | echo 'longueur du chemin: ' . count($this->current_page) . '<br>'; | ||
22 | foreach($this->current_page as $current){ | ||
23 | echo $current->getEndOfPath() . ' '; | ||
24 | } | ||
25 | die;*/ | ||
26 | } | 20 | } |
27 | 21 | ||
28 | // produit un tableau de Page en comparant le chemin demandé avec les données dans Menu | 22 | // produit un tableau de Page en comparant le chemin demandé avec les données dans Menu |