From 460721579fdba2e7e25ee96c761640f1192d447b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 6 Sep 2003 12:41:17 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20test=20si=20l'utilisateur=20est=20?= =?UTF-8?q?pass=E9=20par=20install.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/main.inc.php3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/main.inc.php3 b/htdocs/main.inc.php3 index 7b48f3c5d60..cbac403cb95 100644 --- a/htdocs/main.inc.php3 +++ b/htdocs/main.inc.php3 @@ -105,7 +105,7 @@ else } } /* - * Definition de toutes les Constantes globales d'envirronement + * Definition de toutes les Constantes globales d'environement * */ $sql = "SELECT name, value FROM llx_const"; @@ -129,6 +129,12 @@ if ($result) //$db->close(); +if (defined("MAIN_NOT_INSTALLED")) +{ + Header("Location: install.php"); +} + + /* * Inclusion de librairies dépendantes de paramètres de conf */