diff --git a/app/WillySoft/Http/Route.php b/app/WillySoft/Http/Route.php index b993d8b..2450e97 100644 --- a/app/WillySoft/Http/Route.php +++ b/app/WillySoft/Http/Route.php @@ -19,7 +19,7 @@ abstract class Route // check if the route matches and add parameters if any $args = []; $request_path = (function() { - $haystack = strtok($_SERVER["REQUEST_URI"], '?'); + $haystack = strtok($_SERVER['REQUEST_URI'], '?'); $needle = dirname($_SERVER['SCRIPT_NAME']); if ($needle === '/') { $needle = '';