aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Request.php
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/Request.php')
-rw-r--r--bootstrap/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/Request.php b/bootstrap/Request.php
index cc8e687..dfefff1 100644
--- a/bootstrap/Request.php
+++ b/bootstrap/Request.php
@@ -4,7 +4,7 @@ class Request
{
public static function uri()
{
- return (string) trim($_SERVER['REQUEST_URI'], "/");
+ return (string) trim(explode('?', $_SERVER['REQUEST_URI'])[0], "/");
}
public static function method()