|
@@ 1911-1922 (lines=12) @@
|
| 1908 |
|
} |
| 1909 |
|
} |
| 1910 |
|
|
| 1911 |
|
if (!$GLOBALS['REQUEST_URI']) { |
| 1912 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 1913 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 1914 |
|
} else { |
| 1915 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 1916 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 1917 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 1918 |
|
) { |
| 1919 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 1920 |
|
} |
| 1921 |
|
} |
| 1922 |
|
} |
| 1923 |
|
|
| 1924 |
|
$url[$profondeur] = url_de_($http, $host, $GLOBALS['REQUEST_URI'], $profondeur); |
| 1925 |
|
|
|
@@ 2505-2514 (lines=10) @@
|
| 2502 |
|
|
| 2503 |
|
|
| 2504 |
|
// Compatibilite avec serveurs ne fournissant pas $REQUEST_URI |
| 2505 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 2506 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 2507 |
|
} else { |
| 2508 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 2509 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 2510 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 2511 |
|
) { |
| 2512 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 2513 |
|
} |
| 2514 |
|
} |
| 2515 |
|
|
| 2516 |
|
// Duree de validite de l'alea pour les cookies et ce qui s'ensuit. |
| 2517 |
|
if (!defined('_RENOUVELLE_ALEA')) { |