One more router fix

This commit is contained in:
Thomas Gelf 2014-03-27 19:47:11 +00:00
parent fcde513c24
commit ff6859d1d1
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if (substr($ruri, 0, strlen($remove)) !== $remove) {
$ruri = substr($ruri, strlen($remove));
if (strpos($ruri, '?') === false) {
$params = '';
$path = $ruri;
$path = ltrim($ruri, '/');
} else {
list($path, $params) = preg_split('/\?/', $ruri, 2);
}