From 22208f256740b6329a457e85b9c2c9114d56f12c Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Tue, 24 Jun 2003 21:23:09 +0000
Subject: [PATCH] =?UTF-8?q?erreur=20explicite=20en=20cas=20de=20trouble=20?=
 =?UTF-8?q?MySQL=20et=20page=20non=20cach=C3=A9e=20(ex:=20moteur=20de=20re?=
 =?UTF-8?q?cherche,=20forum)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc-public-global.php3 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/inc-public-global.php3 b/inc-public-global.php3
index 7a6a02b7c4..615a720985 100644
--- a/inc-public-global.php3
+++ b/inc-public-global.php3
@@ -165,6 +165,12 @@ else {
 // envoyer la page
 if (file_exists($chemin_cache) && ($HTTP_SERVER_VARS['REQUEST_METHOD'] != 'HEAD')) {
 	include($chemin_cache);
+} else {
+	// message d'erreur base de donnees
+	include_ecrire('inc_presentation.php3');
+	install_debut_html(_T('info_travaux_titre'));
+	echo "<p>"._T('titre_probleme_technique')."</p>\n";
+	install_fin_html();
 }
 
 
-- 
GitLab