1
例如,我有我的應用程序有一個網頁叫做第2頁,我想訪問喜歡mysite.com/page2Zend框架的內部路由
中的application.ini文件我會爲它
節resources.router.routes.index.route = '/page2/'
resources.router.routes.index.defaults.controller = index
resources.router.routes.index.defaults.action = page2
我的問題是,如果我有幾個頁面,我想訪問作爲索引控制器的子級。必須有一種方法,不涉及在每次有新頁面時在application.ini中創建新節...
有什麼建議嗎?
謝謝。這正是我正在尋找的......是的,編程完全是關於給與! :) 再次感謝 – aserwin