We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b2559 commit 13c0ab0Copy full SHA for 13c0ab0
app/libs/Tools/Util/Router.php
@@ -66,7 +66,7 @@ class Router {
66
67
public function __construct($routes, $url = NULL, $uri = NULL) {
68
$this->baseUrl = $url == NULL ? explode('/', $_SERVER['SCRIPT_NAME']) : explode('/',$url);
69
- $this->queryUrl = $uri == NULL ? explode('/', $_SERVER['REQUEST_URI']) : explode('/',$uri);
+ $this->queryUrl = $uri == NULL ? explode('/', $_SERVER['PATH_INFO']) : explode('/',$uri);
70
71
$this->urlDiff = array_diff_assoc($this->queryUrl, $this->baseUrl);
72
0 commit comments