pathinfo URL规则修改还原

This commit is contained in:
thinkphp
2013-03-14 14:42:55 +08:00
parent 90fac61dea
commit dec45af1aa
2 changed files with 13 additions and 33 deletions

View File

@@ -15,9 +15,6 @@ class Route {
static public function check($regx,$rules) {
// 优先检测是否存在PATH_INFO
if(empty($regx)) return true;
if(!Config::get('url_route')) {
return false;
}
// 路由处理
if(!empty($rules)) {
// 分隔符替换 确保路由定义使用统一的分隔符