From d40d5a77bbbe65b6f71209bc97bcfbca54040019 Mon Sep 17 00:00:00 2001 From: seek3r Date: Sun, 31 Dec 2000 10:14:11 +0000 Subject: [PATCH] code clean up, hopefully this should help clean up the problems jengo is having with php 3.0.16 --- setup/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/index.php b/setup/index.php index 2300569d89..c1184584c5 100644 --- a/setup/index.php +++ b/setup/index.php @@ -19,7 +19,10 @@ include("./inc/functions.inc.php"); /* processing and discovery phase */ $phpgw_info["setup"]["stage"]["header"] = $phpgw_setup->check_header(); - if ( $phpgw_info["setup"]["stage"]["header"] == 10){ + if ($phpgw_info["setup"]["stage"]["header"] != 10){ + Header("Location: manageheader.php"); + exit; + }else{ if (!$phpgw_setup->auth("Config")){ $phpgw_setup->show_header("Please login",True); $phpgw_setup->login_form(); @@ -29,9 +32,6 @@ $phpgw_info["setup"]["stage"]["db"] = $phpgw_setup->check_db(); $phpgw_info["setup"]["stage"]["config"] = $phpgw_setup->check_config(); } - }else{ - Header("Location: manageheader.php"); - exit; } switch($action){