mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 05:31:36 +08:00
pathinfo URL规则修改还原
This commit is contained in:
@@ -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)) {
|
||||
// 分隔符替换 确保路由定义使用统一的分隔符
|
||||
|
||||
Reference in New Issue
Block a user