mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
code clean up, hopefully this should help clean up the problems jengo is having with php 3.0.16
This commit is contained in:
parent
a812666b75
commit
d40d5a77bb
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user