aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2024-08-06 00:00:00 +0000
committerThedro Neely <thedroneely@gmail.com>2024-08-06 00:00:00 +0000
commit30529543b405c481744a686fe5f82ed342710c76 (patch)
tree29234d11ebc2909bc50ad1d5a1c43b79e682052f
parent4f370f23ab975f8e584c625af37292e2716c5082 (diff)
downloadedwinmattiacci.com-30529543b405c481744a686fe5f82ed342710c76.tar.gz
edwinmattiacci.com-30529543b405c481744a686fe5f82ed342710c76.tar.bz2
edwinmattiacci.com-30529543b405c481744a686fe5f82ed342710c76.zip
bootstrap/Request: Fix query parameterHEADmaster
-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()