diff --git a/app/functions.php b/app/functions.php index 0cdd7aef1f382b6e9ff86aefe2339f5093b8e12b..9f532f3141b3ee9ae0ab1a161783b5475f02353c 100644 --- a/app/functions.php +++ b/app/functions.php @@ -84,6 +84,8 @@ if (!function_exists('url')) { if (!Str::startsWith($url, '/')) { $url = DIRECTORY_SEPARATOR . $url; + }else{ + return $url . $vars; } return $app == 'index' ? $url . $vars : '/' . $app . $url . $vars;