From ac6af2c99e870de73c0167c28a9e5054960d4897 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 7 Oct 2007 17:41:29 +0000 Subject: [PATCH] - read config.inc.php earlier to make the check for $CONF['configured'] == FALSE work git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@136 a1433add-5e2c-0410-b055-b7f2511e0802 --- common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.php b/common.php index 20114f05..a43dd29f 100644 --- a/common.php +++ b/common.php @@ -26,13 +26,13 @@ if(!is_file("$incpath/config.inc.php")) { header("Location: setup.php"); exit(0); } +require_once("$incpath/config.inc.php"); 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");