mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
One more router fix
This commit is contained in:
parent
fcde513c24
commit
ff6859d1d1
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user