From 5db963a8356ac34b07f2471b24ecddbe0efc296f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 31 Mar 2017 20:05:15 +0200 Subject: [PATCH] fixed parser error Signed-off-by: Roland Haeder --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index b83f494dd7..f65829ed18 100644 --- a/boot.php +++ b/boot.php @@ -697,7 +697,7 @@ class App { $this->query_string = substr($_SERVER['QUERY_STRING'], 9); // removing trailing / - maybe a nginx problem - $this->query_string = lrim($this->query_string, '/'); + $this->query_string = ltrim($this->query_string, '/'); } elseif ((x($_SERVER, 'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'], 0, 2) === "q=") { $this->query_string = substr($_SERVER['QUERY_STRING'], 2);