diff --git a/inc-public-global.php3 b/inc-public-global.php3 index 523bae034a6a2c01ca0e2b899c054645ad97452b..ef82799ab01c81f4498ea3d374a079865431aec5 100644 --- a/inc-public-global.php3 +++ b/inc-public-global.php3 @@ -114,11 +114,7 @@ function afficher_page_globale ($fond) { $lastmodified, $recherche, $use_cache, $var_mode, $var_preview; global $_GET, $_POST, $_COOKIE, $_SERVER; - # methode de surcharge a revoir, car find_in_path donne './inc-cache' - $f = find_in_path("inc-cache" . _EXTENSION_PHP); - if ($f && is_readable($f)) { - include_local($f); - } else include_local("inc-cache"); + include_local("inc-cache"); // Peut-on utiliser un fichier cache ? $chemin_cache = determiner_cache($use_cache, '', $fond);