Commit 75f9f5dc authored by Dries's avatar Dries
Browse files

- Patch #1283244 by pillarsdotnet, TR: request_uri() documentation did not conform to standards.

parent 778ea2ce
......@@ -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'];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment