mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
@@ -324,7 +324,7 @@ class Request
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->pathinfo = empty($_SERVER['PATH_INFO']) ? '/' : trim($_SERVER['PATH_INFO'], '/');
|
$this->pathinfo = empty($_SERVER['PATH_INFO']) ? '/' : ltrim($_SERVER['PATH_INFO'], '/');
|
||||||
}
|
}
|
||||||
return $this->pathinfo;
|
return $this->pathinfo;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user