diff --git a/system/url.php b/system/url.php index afb5baf1..52fb6c71 100644 --- a/system/url.php +++ b/system/url.php @@ -31,7 +31,7 @@ class URL { $base = 'https://'.substr($base, 7); } - return rtrim($base, '/').'/'.ltrim($url, '/'); + return rtrim($base, '/').'/'.trim($url, '/'); } /**