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");