开发者

Why Zend_Route don't work?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜