Application
-Model
Pero las crea sin prefijo asi mas o menos : Model_Persona.
Cuando quiero llamarla desde un controlador del modulo . No la encuentra.
Application
-Module
-Admin
-Controller
Warning: include_once(Model/Persona.php) [function.include-once]: failed to open stream:
Fatal error: Class 'Model_Persona' not found in.
MI include_path.
Código PHP:
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
realpath(APPLICATION_PATH . '/../library/Doctrine'),
realpath(APPLICATION_PATH . '/models'),
get_include_path(),
)));
Código PHP:
bootstrap.path = APPLICATION_PATH "/bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.baseUrl = "/acceda"
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.frontController.defaultModule = "default"
autoloaderNamespaces[] = "Model_"
Ya que doctrine no me la genera con prefix
Un saludo