refactor redirect class.

This commit is contained in:
Taylor Otwell
2011-08-08 23:09:10 -05:00
parent 09feb52db9
commit 7ebcdf57c5
2 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ class URL {
$base = 'https://'.substr($base, 7);
}
return rtrim($base, '/').'/'.ltrim($url, '/');
return rtrim($base, '/').'/'.trim($url, '/');
}
/**