关于TP2.0的路由求教

浏览:540 发布日期:2014/04/07 分类:求助交流 关键字: thinkphp路由 thinkphp伪静态
参考http://www.5idev.com/p-thinkphp_routing_v20.shtml写的路由不起作用。
我原来的url为index.php/article/detailPage/parentID/1/cat_id/8/artID/46
路由写成return array(
// 常规路由
'product'=>array('article','detailPage','parentID,cat_id,artID')
);
我框架用的分组,在CONF目录下有个总的conf.php文件,在CONF目录下放入routes.php,按理应该生成url:index.php/product/1/8/46,但显示的还是老的url,请教错在哪里?
最佳答案
评论( 相关
后面还有条评论,点击查看>>