Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove double base path when parsing current full url
  • Loading branch information
Casmo committed May 29, 2015
1 parent 7397ba3 commit 7e32ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Routing/Router.php
Expand Up @@ -569,9 +569,9 @@ public static function url($url = null, $full = false)
}

if (empty($url)) {
$output = isset($here) ? $here : '/';
$output = isset($here) ? $here : $base . '/';
if ($full) {
$output = static::fullBaseUrl() . $base . $output;
$output = static::fullBaseUrl() . $output;
}
return $output;
} elseif (is_array($url)) {
Expand Down

0 comments on commit 7e32ea5

Please sign in to comment.