Domanda

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?

È stato utile?

Soluzione

Use Backend as module, Frontend is the same.

See my example below:

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top