|
@@ 1939-1950 (lines=12) @@
|
| 1936 |
|
} |
| 1937 |
|
} |
| 1938 |
|
|
| 1939 |
|
if (!$GLOBALS['REQUEST_URI']) { |
| 1940 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 1941 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 1942 |
|
} else { |
| 1943 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 1944 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 1945 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 1946 |
|
) { |
| 1947 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 1948 |
|
} |
| 1949 |
|
} |
| 1950 |
|
} |
| 1951 |
|
|
| 1952 |
|
$url[$profondeur] = url_de_($http, $host, $GLOBALS['REQUEST_URI'], $profondeur); |
| 1953 |
|
|
|
@@ 2509-2518 (lines=10) @@
|
| 2506 |
|
|
| 2507 |
|
|
| 2508 |
|
// Compatibilite avec serveurs ne fournissant pas $REQUEST_URI |
| 2509 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 2510 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 2511 |
|
} else { |
| 2512 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 2513 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 2514 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 2515 |
|
) { |
| 2516 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 2517 |
|
} |
| 2518 |
|
} |
| 2519 |
|
|
| 2520 |
|
// Duree de validite de l'alea pour les cookies et ce qui s'ensuit. |
| 2521 |
|
if (!defined('_RENOUVELLE_ALEA')) { |