From 9cbdf0a8479b0769e1f675ce5c3e8b3a174b062d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 21 Sep 2011 05:31:13 -0400 Subject: - Patch #1283244 by pillarsdotnet, TR: request_uri() documentation did not conform to standards. --- includes/bootstrap.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'includes/bootstrap.inc') 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']; } -- cgit v1.2.3