summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-07 17:05:51 +0100
committerThomas Lange <code@nerdmind.de>2017-03-07 17:05:51 +0100
commitaae885b9784466ab412e4010893808867e93c213 (patch)
tree1a282f30addad213185d6710da7dfd62414270e5
parent6bcdaa8ed6d45d8c852bf2d2e37b07446861c94b (diff)
downloadblog-aae885b9784466ab412e4010893808867e93c213.tar.gz
blog-aae885b9784466ab412e4010893808867e93c213.tar.xz
blog-aae885b9784466ab412e4010893808867e93c213.zip
Fixed wrong environment variable name.
-rw-r--r--core/namespace/HTTP.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/namespace/HTTP.php b/core/namespace/HTTP.php
index f9fbf01..bc2e062 100644
--- a/core/namespace/HTTP.php
+++ b/core/namespace/HTTP.php
@@ -200,10 +200,10 @@ class HTTP {
}
#===============================================================================
- # Return REQUEST_URL
+ # Return REQUEST_URI
#===============================================================================
public static function requestURI() {
- return $_SERVER['REQUEST_URL'] ?? FALSE;
+ return $_SERVER['REQUEST_URI'] ?? FALSE;
}
#===============================================================================