diff options
author | Thedro Neely <thedroneely@gmail.com> | 2024-08-06 00:00:00 +0000 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2024-08-06 00:00:00 +0000 |
commit | 30529543b405c481744a686fe5f82ed342710c76 (patch) | |
tree | 29234d11ebc2909bc50ad1d5a1c43b79e682052f | |
parent | 4f370f23ab975f8e584c625af37292e2716c5082 (diff) | |
download | edwinmattiacci.com-30529543b405c481744a686fe5f82ed342710c76.tar.gz edwinmattiacci.com-30529543b405c481744a686fe5f82ed342710c76.tar.bz2 edwinmattiacci.com-30529543b405c481744a686fe5f82ed342710c76.zip |
-rw-r--r-- | bootstrap/Request.php | 2 |
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() |