Php 为什么Zend#u Route don';不行?
尝试更改第二个路由的名称Php 为什么Zend#u Route don';不行?,php,zend-framework,routing,Php,Zend Framework,Routing,尝试更改第二个路由的名称 routes.info.route = "info" routes.info.defaults.module = "default" routes.info.defaults.controller = "index" routes.info.defaults.action = "info" http://localhost/info/ Exception information: Message: Invalid controller specified
routes.info.route = "info"
routes.info.defaults.module = "default"
routes.info.defaults.controller = "index"
routes.info.defaults.action = "info"
http://localhost/info/
Exception information:
Message: Invalid controller specified (info)
Request Parameters:
array (
'controller' => 'info',
'action' => 'index',
'module' => 'default',
)
就这样?config.ini和exception我猜您没有常见问题解答控制器我正在尝试将其发送到索引控制器Ha然后很容易尝试routes.info.defaults.action=“index”实际上必须进行配置
resources.router.x
routes.info.route = "info"
routes.info.defaults.module = "default"
routes.info.defaults.controller = "index"
routes.info.defaults.action = "faq"