From 38952279df25a0e36ffd1beef50f4ec6dc3cbe09 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Wed, 11 Jan 2006 14:53:48 +0000
Subject: [PATCH] zut les balises dynamiques ne marchaient plus

---
 inc-public-global.php3 | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/inc-public-global.php3 b/inc-public-global.php3
index 523bae034a..ef82799ab0 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);
-- 
GitLab