code clean up, hopefully this should help clean up the problems jengo is having with php 3.0.16

This commit is contained in:
seek3r 2000-12-31 10:14:11 +00:00
parent a812666b75
commit d40d5a77bb

View File

@ -19,7 +19,10 @@
include("./inc/functions.inc.php"); include("./inc/functions.inc.php");
/* processing and discovery phase */ /* processing and discovery phase */
$phpgw_info["setup"]["stage"]["header"] = $phpgw_setup->check_header(); $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")){ if (!$phpgw_setup->auth("Config")){
$phpgw_setup->show_header("Please login",True); $phpgw_setup->show_header("Please login",True);
$phpgw_setup->login_form(); $phpgw_setup->login_form();
@ -29,9 +32,6 @@
$phpgw_info["setup"]["stage"]["db"] = $phpgw_setup->check_db(); $phpgw_info["setup"]["stage"]["db"] = $phpgw_setup->check_db();
$phpgw_info["setup"]["stage"]["config"] = $phpgw_setup->check_config(); $phpgw_info["setup"]["stage"]["config"] = $phpgw_setup->check_config();
} }
}else{
Header("Location: manageheader.php");
exit;
} }
switch($action){ switch($action){