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 aa11324 commit eac2a14Copy full SHA for eac2a14
src/Router.php
@@ -46,6 +46,8 @@ class Router
46
*/
47
public function __construct()
48
{
49
+ /** @noinspection PhpExpressionResultUnusedInspection */
50
+ $_SERVER; // Bypass auto_globals_jit and populate _SERVER into GLOBALS
51
// Get the Base of the URI, without 'index.php'
52
$this->uriBase = strtr($this->getServer('SCRIPT_NAME'), ['index.php' => '']);
53
// make Relative URI - remove query string from the request (everything after ?)
0 commit comments