if the header needs upgrading, start the headermanagement direct and not check_install as we do for new installs

This commit is contained in:
Ralf Becker 2004-07-04 10:30:42 +00:00
parent f9c991624a
commit 7fbc1c9248

View File

@ -54,8 +54,14 @@
$GLOBALS['phpgw_info']['setup']['stage']['header'] = $GLOBALS['phpgw_setup']->detection->check_header(); $GLOBALS['phpgw_info']['setup']['stage']['header'] = $GLOBALS['phpgw_setup']->detection->check_header();
if ($GLOBALS['phpgw_info']['setup']['stage']['header'] != '10') if ($GLOBALS['phpgw_info']['setup']['stage']['header'] != '10')
{ {
// Header('Location: manageheader.php'); if ($GLOBALS['phpgw_info']['setup']['stage']['header'] == 4) // header needs update, go there direct
Header('Location: check_install.php?intro=1'); {
Header('Location: manageheader.php');
}
else // run check-install first
{
Header('Location: check_install.php?intro=1');
}
exit; exit;
} }
elseif(!$GLOBALS['phpgw_setup']->auth('Config')) elseif(!$GLOBALS['phpgw_setup']->auth('Config'))