Guest User

Untitled

a guest
Jun 18th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. //Prior ZF 1.8
  2.  
  3. $frontController->setControllerDirectory(array(
  4. 'default' => ROOT_PATH . '/application/controllers',
  5. 'admin' => ROOT_PATH . '/application/admin/controllers',
  6. 'reports' => ROOT_PATH . '/application/reports/controllers',
  7. ));
  8.  
  9. //How do you convert above code to fit into ZF 1.8 Zend_Application
  10.  
  11. I am able to set the controller directory for the default module. How do you specify the controller directory for other modules?
Add Comment
Please, Sign In to add comment