Pregunta

I have the following zend framework application

enter image description here

What is different is that I added another application tree inside a backend folder.

What i am trying to figure out is how to make the backend application aware of the main application classes.

For example, in the bootstrap.php from the main application tree I have a call to a method: Application_Model_ModuleLoader::load()

If I do the same inside the second bootstrap from the backend tree, it will error out Class 'Application_Model_ModuleLoader' not found ..

Any ideas?

¿Fue útil?

Solución

Use Backend as module, Frontend is the same.

See my example below:

enter image description here

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top