diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-04-17 09:13:21 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-04-17 09:13:21 -0400 |
commit | 6ea4822ea64a5b51d1e27d2d8049a81127ccc9d8 (patch) | |
tree | 617b867f1c42660837c0e8cf5c56593748db00a4 /bootstrap | |
parent | b40a524d2514751c248e4d1f7602fdb00ad19908 (diff) | |
download | thedroneely.com-6ea4822ea64a5b51d1e27d2d8049a81127ccc9d8.tar.gz thedroneely.com-6ea4822ea64a5b51d1e27d2d8049a81127ccc9d8.tar.bz2 thedroneely.com-6ea4822ea64a5b51d1e27d2d8049a81127ccc9d8.zip |
bootstrap/Request: Accept query parameters
Diffstat (limited to 'bootstrap')
-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() |