Autoloading
This commit is contained in:
parent
fbb20b81c5
commit
fe434d5da9
@ -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);
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
class Menu
|
||||
class Scores_Menu
|
||||
{
|
||||
protected $menu = null;
|
||||
protected $siret = null;
|
||||
|
Loading…
Reference in New Issue
Block a user