改进路由检测地址

This commit is contained in:
thinkphp
2016-07-22 13:00:39 +08:00
parent 7efe88f0c9
commit 50e8b976e4

View File

@@ -466,7 +466,7 @@ class App
*/
public static function routeCheck($request, array $config)
{
$path = $request->path();
$path = rtrim($request->path(), '/');
$depr = $config['pathinfo_depr'];
$result = false;
// 路由检测