我怎样才能让这 2 条路线(语言,amdin)工作.. 单独的管理员,或者语言可以工作,但他们会一起失败:(
; Admin route
resources.router.routes.admin.type = Zend_Controller_Router_Route
resources.router.routes.admin.route = ":admin"
resources.router.routes.admin.reqs.admin = "admin"
; Language route
resources.router.routes.language.type = Zend_Controller_Router_Route
resources.router.routes.language.route = ":language"
resources.router.routes.language.reqs.language = "^(nl|en)$"
resources.router.routes.language.defaults.language = "nl"
; Default route chain
resources.router.routes.default.type = Zend_Controller_Router_Route_Chain
resources.router.routes.default.chain = "language, admin, defaultmodule"