From fe434d5da9c35aa8fcdf29a722e5663630096707 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 18 Nov 2013 13:35:46 +0000 Subject: [PATCH] Autoloading --- library/Application/Controller/Plugin/Menu.php | 3 +-- library/Scores/Menu.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/library/Application/Controller/Plugin/Menu.php b/library/Application/Controller/Plugin/Menu.php index a892a46e8..eb913da7f 100644 --- a/library/Application/Controller/Plugin/Menu.php +++ b/library/Application/Controller/Plugin/Menu.php @@ -22,8 +22,7 @@ class Application_Controller_Plugin_Menu extends Zend_Controller_Plugin_Abstract } //Génération du menu - require_once 'Scores/Menu.php'; - $computeMenu = new Menu($request->getParams()); + $computeMenu = new Scores_Menu($request->getParams()); $menu = $computeMenu->getMenu(); $view = $layout->getView(); $view->navigation($menu); diff --git a/library/Scores/Menu.php b/library/Scores/Menu.php index 4c9bea08c..fc7093a32 100644 --- a/library/Scores/Menu.php +++ b/library/Scores/Menu.php @@ -1,5 +1,5 @@