Skip to content

Commit

Permalink
Fixed setting uri
Browse files Browse the repository at this point in the history
  • Loading branch information
VeeeneX committed Jul 26, 2015
1 parent 2defea5 commit 7ac0d7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ public function setMatchType($key, $matchType)
*/
public function setBaseUri($baseUri)
{
$baseUri[0] = '';
$this->baseUri = (string) trim($baseUri);
$this->baseUri = (string) $baseUri;
}

/**
Expand Down

0 comments on commit 7ac0d7a

Please sign in to comment.