开发者

Why Zend_Route don't work?

开发者 https://www.devze.com 2023-01-02 21:26 出处:网络
routes.info.route = \"info\" routes.info.defa开发者_如何学JAVAults.module = \"default\" routes.info.defaults.controller = \"index\"
routes.info.route = "info"
routes.info.defa开发者_如何学JAVAults.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',
)  


Try to change the name of second route

routes.info.route = "info"
routes.info.defaults.module = "default"
routes.info.defaults.controller = "index"
routes.info.defaults.action = "faq"
0

精彩评论

暂无评论...
验证码 换一张
取 消