summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-09-21 05:31:13 -0400
committerDries Buytaert <dries@buytaert.net>2011-09-21 05:31:13 -0400
commit9cbdf0a8479b0769e1f675ce5c3e8b3a174b062d (patch)
tree72ccf3d831c14beca9b3a28de00a7fb100bdc921
parent0db76570348381486a0e664b5ff07478fc242b01 (diff)
downloadbrdo-9cbdf0a8479b0769e1f675ce5c3e8b3a174b062d.tar.gz
brdo-9cbdf0a8479b0769e1f675ce5c3e8b3a174b062d.tar.bz2
- 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 6f093ad19..1fe8c1435 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1556,11 +1556,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'];
}