mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
改进路由检测地址
This commit is contained in:
@@ -466,7 +466,7 @@ class App
|
|||||||
*/
|
*/
|
||||||
public static function routeCheck($request, array $config)
|
public static function routeCheck($request, array $config)
|
||||||
{
|
{
|
||||||
$path = $request->path();
|
$path = rtrim($request->path(), '/');
|
||||||
$depr = $config['pathinfo_depr'];
|
$depr = $config['pathinfo_depr'];
|
||||||
$result = false;
|
$result = false;
|
||||||
// 路由检测
|
// 路由检测
|
||||||
|
|||||||
Reference in New Issue
Block a user