]> git.mxchange.org Git - friendica.git/commitdiff
fixed parser error
authorRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:05:15 +0000 (20:05 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:05:40 +0000 (20:05 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
boot.php

index b83f494dd7dbb3df1930678a7f0d92ab4bba29e9..f65829ed187d3e106d65a2cfcbf366bd3561a170 100644 (file)
--- 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);