Could someone post a working example of an application.ini for a module structure that works.

I have:

application
   /modules
      /module1
         /controllers
         /...
      /module2
         /controllers

set-up. I can get my framework (1.10) to work fine by including this in my base Bootstrap.php file:

$front = Zend_Controller_Front::getInstance();

$front->setControllerDirectory(
   array(
      'default' => APPLICATION_PATH . '/modules/module1/controllers',
      'module1' => APPLICATION_PATH . '/modules/module2/controllers'
   )
);

But I cannot figure out how to use

resources.frontController.moduleControllerDirectoryName,
resources.frontController.moduleDirectory, &
resources.frontController.defaultControllerName

Et Cetera

In the application.ini file, to do the same. Is this even best practice?

Reply via email to