From 874bde15dece504c1ed25e8aff518efef8d60e76 Mon Sep 17 00:00:00 2001 From: Bob Vincent Date: Sun, 18 Sep 2011 15:08:02 -0400 Subject: [PATCH] Issue #1283244: Fix documentation header of request_uri() function. --- includes/bootstrap.inc | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 7d000343a58896e317dbc40420c5d3b007d7e468..fcd77ab39af04a507392201102c8f3934ad5b0b3 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']; } -- 1.7.5.4