增加新闻中心的路由规则

This commit is contained in:
Li Jianxuan 2011-12-21 09:51:16 +00:00
parent 57aba3bc30
commit 384c3750f3
1 changed files with 172 additions and 172 deletions

View File

@ -160,13 +160,13 @@ routes.adminoffline.defaults.action = offline
routes.adminoffline.defaults.page = 1 routes.adminoffline.defaults.page = 1
routes.adminoffline.reqs.page = \d+ routes.adminoffline.reqs.page = \d+
routes.news.type = "Zend_Controller_Router_Route_Static" routes.news.route = news/:type/:page
routes.news.route = "news" routes.news.defaults.controller = news
routes.news.defaults.controller = "news" routes.news.defaults.action = list
routes.news.defaults.action = "list" routes.news.defaults.page = 1
routes.archive.type = "Zend_Controller_Router_Route_Regex" routes.archive.type = "Zend_Controller_Router_Route_Regex"
routes.archive.route = "archive/(\d+)" routes.archive.route = "news/:type/archive-(\d+).html"
routes.archive.defaults.controller = "archive" routes.archive.defaults.controller = news
routes.archive.defaults.action = "show" routes.archive.defaults.action = archive
routes.archive.map.1 = "year" routes.archive.map.1 = "aid"