|
@@ 1930-1941 (lines=12) @@
|
| 1927 |
|
} |
| 1928 |
|
} |
| 1929 |
|
|
| 1930 |
|
if (!$GLOBALS['REQUEST_URI']) { |
| 1931 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 1932 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 1933 |
|
} else { |
| 1934 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 1935 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 1936 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 1937 |
|
) { |
| 1938 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 1939 |
|
} |
| 1940 |
|
} |
| 1941 |
|
} |
| 1942 |
|
|
| 1943 |
|
$url[$profondeur] = url_de_($http, $host, $GLOBALS['REQUEST_URI'], $profondeur); |
| 1944 |
|
|
|
@@ 2500-2509 (lines=10) @@
|
| 2497 |
|
|
| 2498 |
|
|
| 2499 |
|
// Compatibilite avec serveurs ne fournissant pas $REQUEST_URI |
| 2500 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 2501 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 2502 |
|
} else { |
| 2503 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 2504 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 2505 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 2506 |
|
) { |
| 2507 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 2508 |
|
} |
| 2509 |
|
} |
| 2510 |
|
|
| 2511 |
|
// Duree de validite de l'alea pour les cookies et ce qui s'ensuit. |
| 2512 |
|
if (!defined('_RENOUVELLE_ALEA')) { |