'URL_ROUTE_RULES'=>array(
"/^(.+?)\.html$/" => "Index/info?url=:1",
),
http://my.xxx.com/top-10-of-2011-1.html
无法解析
http://my.xxx.com/top-10-of-2011-1.html.html
route.class.php 中定义这个__EXT__明显去掉了最后一个后最
这样如何实现[a-z0-9]+?是分类[a-z0-9]+?\.html是详情页?
$regx = preg_replace('/\.'.__EXT__.'$/i','',trim($_SERVER['PATH_INFO'],$depr));
则可以。。今天下的最新内核版本。。请问我该如何设置这个路径正确解析
最佳答案