Browse code

query string in request uri patch for basePath method

RafaƂ Szklarczyk authored on 21/08/2019 13:55:04
Showing 1 changed files
... ...
@@ -49,7 +49,7 @@ class Application{
49 49
             return strstr($_SERVER['REQUEST_URI'], $this->request->path, true);
50 50
         }
51 51
         else
52
-            return $_SERVER['REQUEST_URI'];
52
+            return explode('?',$_SERVER['REQUEST_URI'],1)[0];
53 53
     }
54 54
 
55 55
     public function getServerURL(){