From 75f9f5dc7c79fd6182e1e7841f8399a7c59c4ed0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 21 Sep 2011 05:31:43 -0400 Subject: [PATCH] - Patch #1283244 by pillarsdotnet, TR: request_uri() documentation did not conform to standards. --- includes/bootstrap.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 7d000343a58..7c6ca094a41 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']; }