|
|||
|
Hi ,
I have to keep the admin files in an admin folder. So, in this case i hv to change my controller files to this new directory. For that i hv added the controller, like below. But i dont know how to access the admin folder. $front->setControllerDirectory(array( 'default' => '../application/default/controllers', 'admin' => '../application/admin/controllers' )); I tried http://localhost/html/index.php/admi...r)/list(action). But it is not coming . Can anyone tell me how to point this. - Mugesh. |
|
|||
|
First, an important question:
Is the admin part of your site going to be built with the Zend Framework? If the answer is no, you simply have to turn off bootstrapping when in the '/admin' directory. I am guessing though that the answer is 'yes', in which case you should look into setting up your Zend Framework application in the Conventional Modular directory structure. this way you can have a 'default' module and an 'admin' module Using a Conventional Modular Directory Structure |
![]() |
| Thread Tools | |
| Display Modes | |
|
|