#resources. frontcontroller.moduledirectory = Application_path "/modules"
#resources. Frontcontroller.modulecontrollerdirectoryname = "Controllers"
#resources. Frontcontroller.defaultmodule = "Default"
Resources.frontController.controllerDirectory = Application_path "/controllers"
Test success Below
Resources.frontController.controllerDirectory.default =application_path "/modules/default/controllers"
Resources.frontController.controllerDirectory.admin =application_path "/modules/admin/controllers"
Resources. Frontcontroller.moduledirectory =application_path "/modules"
Resources. Frontcontroller.modulecontrollerdirectoryname = "Controllers"
Resources. frontcontroller.defaultmodule= "Default"
Test success Below
Resources.frontController.controllerDirectory = Application_path "/controllers"
resources.frontController.params.displayExceptions = 0
Resources.frontController.moduleDirectory = Application_path "/modules"
Two can only access the default
Http://192.168.1.188/zend/public/index/index
Http://192.168.1.188/zend/public/admin/index/add
. $this->_forward ($action, $controller =null, $module =null,array$params=null)
The parameter must write at least two first, otherwise will error;
This jump does not change the browser address;
2. $this->_redirect ($url, $options)
$url is usually ' controller/action ', as for the back of the $options I have not used;
This jump transfer changes the browser address;
3. $this->render (' test ') or $this->render (' 4-2.php ')
This jump transfer advanced to the Test.phtml page, and then to the controller under the Testaction ();
The second case is to jump to the corresponding page;
Zend Frameword Basic Syntax