@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | // Decline static file requests back to the PHP built-in webserver |
9 | 9 | if (php_sapi_name() === 'cli-server') { |
10 | - $path = realpath(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); |
|
10 | + $path = realpath(__DIR__ . parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)); |
|
11 | 11 | if (__FILE__ !== $path && is_file($path)) { |
12 | 12 | return false; |
13 | 13 | } |