|
@@ 1914-1925 (lines=12) @@
|
| 1911 |
|
} |
| 1912 |
|
} |
| 1913 |
|
|
| 1914 |
|
if (!$GLOBALS['REQUEST_URI']) { |
| 1915 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 1916 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 1917 |
|
} else { |
| 1918 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 1919 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 1920 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 1921 |
|
) { |
| 1922 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 1923 |
|
} |
| 1924 |
|
} |
| 1925 |
|
} |
| 1926 |
|
|
| 1927 |
|
$url[$profondeur] = url_de_($http, $host, $GLOBALS['REQUEST_URI'], $profondeur); |
| 1928 |
|
|
|
@@ 2484-2493 (lines=10) @@
|
| 2481 |
|
|
| 2482 |
|
|
| 2483 |
|
// Compatibilite avec serveurs ne fournissant pas $REQUEST_URI |
| 2484 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 2485 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 2486 |
|
} else { |
| 2487 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 2488 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 2489 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 2490 |
|
) { |
| 2491 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 2492 |
|
} |
| 2493 |
|
} |
| 2494 |
|
|
| 2495 |
|
// Duree de validite de l'alea pour les cookies et ce qui s'ensuit. |
| 2496 |
|
if (!defined('_RENOUVELLE_ALEA')) { |