- Patch #1283244 by pillarsdotnet, TR: request_uri() documentation did not conform to standards.
parent
778ea2ceeb
commit
75f9f5dc7c
|
@ -1572,11 +1572,12 @@ function drupal_validate_utf8($text) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Since $_SERVER['REQUEST_URI'] is only available on Apache, we
|
* Returns the equivalent of Apache's $_SERVER['REQUEST_URI'] variable.
|
||||||
* generate an equivalent using other environment variables.
|
*
|
||||||
|
* Because $_SERVER['REQUEST_URI'] is only available on Apache, we generate an
|
||||||
|
* equivalent using other environment variables.
|
||||||
*/
|
*/
|
||||||
function request_uri() {
|
function request_uri() {
|
||||||
|
|
||||||
if (isset($_SERVER['REQUEST_URI'])) {
|
if (isset($_SERVER['REQUEST_URI'])) {
|
||||||
$uri = $_SERVER['REQUEST_URI'];
|
$uri = $_SERVER['REQUEST_URI'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue