문제

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?

도움이 되었습니까?

해결책

Use Backend as module, Frontend is the same.

See my example below:

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top