From 736a1a0b1faee91ad98f6c45d8702d4b3e57cc97 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Thu, 4 Oct 2007 14:57:39 +0000 Subject: [PATCH] common.php: ensure $CONF["configured"] is not false git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@130 a1433add-5e2c-0410-b055-b7f2511e0802 --- common.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common.php b/common.php index fcc0a480..20114f05 100644 --- a/common.php +++ b/common.php @@ -26,6 +26,12 @@ if(!is_file("$incpath/config.inc.php")) { header("Location: setup.php"); exit(0); } +if(isset($CONF['configured'])) { + if($CONF['configured'] == FALSE) { + headeR("Location: setup.php"); + exit(0); + } +} require_once("$incpath/config.inc.php"); require_once("$incpath/functions.inc.php"); require_once("$incpath/languages/" . check_language () . ".lang");