diff options
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 |