|
@@ 2010-2021 (lines=12) @@
|
| 2007 |
|
} |
| 2008 |
|
} |
| 2009 |
|
|
| 2010 |
|
if (!$GLOBALS['REQUEST_URI']) { |
| 2011 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 2012 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 2013 |
|
} else { |
| 2014 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 2015 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 2016 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 2017 |
|
) { |
| 2018 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 2019 |
|
} |
| 2020 |
|
} |
| 2021 |
|
} |
| 2022 |
|
|
| 2023 |
|
$url[$profondeur] = url_de_($http, $host, $GLOBALS['REQUEST_URI'], $profondeur); |
| 2024 |
|
|
|
@@ 2580-2589 (lines=10) @@
|
| 2577 |
|
|
| 2578 |
|
|
| 2579 |
|
// Compatibilite avec serveurs ne fournissant pas $REQUEST_URI |
| 2580 |
|
if (isset($_SERVER['REQUEST_URI'])) { |
| 2581 |
|
$GLOBALS['REQUEST_URI'] = $_SERVER['REQUEST_URI']; |
| 2582 |
|
} else { |
| 2583 |
|
$GLOBALS['REQUEST_URI'] = (php_sapi_name() !== 'cli') ? $_SERVER['PHP_SELF'] : ''; |
| 2584 |
|
if (!empty($_SERVER['QUERY_STRING']) |
| 2585 |
|
and !strpos($_SERVER['REQUEST_URI'], '?') |
| 2586 |
|
) { |
| 2587 |
|
$GLOBALS['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; |
| 2588 |
|
} |
| 2589 |
|
} |
| 2590 |
|
|
| 2591 |
|
// Duree de validite de l'alea pour les cookies et ce qui s'ensuit. |
| 2592 |
|
if (!defined('_RENOUVELLE_ALEA')) { |