Hello,

je suis débutant sous Zend et je veux faire cette configuration là :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 
// IndexController.php
	class IndexController extends BaseController {
 
		public function indexAction() {
			$this->render();
		}
	}
 
// BaseController.php
	class BaseController extends Zend_Controller_Action {
 
		public function init() {
			$request = Zend_Controller_Front::getInstance()->getRequest();
			$this->view->headTitle($request->getActionName())
				  ->headTitle($request->getControllerName());
			$this->view->headTitle('Epoxia-Oragis Admin');
			$this->view->headTitle()->setSeparator(' | ');
		}
	}
Seulement il me dit :
Warning: Zend_Loader::include_once(BaseController.php) [zend-loader.include-once]: failed to open stream: No such file or directory in /home/citronbleu-v/www-dev/private/epoxia/admin/library/Zend/Loader.php on line 83

Warning: Zend_Loader::include_once() [function.include]: Failed opening 'BaseController.php' for inclusion (include_path='../library') in /home/citronbleu-v/www-dev/private/epoxia/admin/library/Zend/Loader.php on line 83

Fatal error: Class 'BaseController' not found in /home/citronbleu-v/www-dev/private/epoxia/admin/application/controllers/IndexController.php on line 2
Comment faire un extends si mon autoload charge les fichiers du dossier de la library et non ceux du dossier Controller ?