From a8d2309d1f6cc4d5adb89072c671bd13ce36af4b Mon Sep 17 00:00:00 2001 From: meystack Date: Wed, 7 Sep 2022 02:49:41 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=9E=E9=80=80URL=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: meystack --- app/functions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/functions.php b/app/functions.php index 9f532f3..0cdd7ae 100644 --- a/app/functions.php +++ b/app/functions.php @@ -84,8 +84,6 @@ if (!function_exists('url')) { if (!Str::startsWith($url, '/')) { $url = DIRECTORY_SEPARATOR . $url; - }else{ - return $url . $vars; } return $app == 'index' ? $url . $vars : '/' . $app . $url . $vars;