summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2011-09-21 05:31:43 -0400
committerDries Buytaert2011-09-21 05:31:43 -0400
commit75f9f5dc7c79fd6182e1e7841f8399a7c59c4ed0 (patch)
treeda9681cca754308988e9a23140ac11fa94f18700
parent778ea2ceebe118e7df21d48c15261cf378f93e66 (diff)
- Patch #1283244 by pillarsdotnet, TR: request_uri() documentation did not conform to standards.
-rw-r--r--includes/bootstrap.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 7d00034..7c6ca09 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1572,11 +1572,12 @@ function drupal_validate_utf8($text) {
}
/**
- * Since $_SERVER['REQUEST_URI'] is only available on Apache, we
- * generate an equivalent using other environment variables.
+ * Returns the equivalent of Apache's $_SERVER['REQUEST_URI'] variable.
+ *
+ * Because $_SERVER['REQUEST_URI'] is only available on Apache, we generate an
+ * equivalent using other environment variables.
*/
function request_uri() {
-
if (isset($_SERVER['REQUEST_URI'])) {
$uri = $_SERVER['REQUEST_URI'];
}