Change Zend Framework Default Module
问题 I'm working on a project and have the following project layout: |Project |-Application |-api |-configs |-controllers |-models |-modules |-core |-controllers |-models |-views |-Bootstrap.php |-site1 |-site2 |-site3 |-views |-Bootstrap.php |-Docs |-Library |-Public |-.zfproject.xml I've used this in my application.ini to try and set the default module to be the core module: resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.frontController.moduleDirectory