mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
if the header needs upgrading, start the headermanagement direct and not check_install as we do for new installs
This commit is contained in:
parent
f9c991624a
commit
7fbc1c9248
@ -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'))
|
||||||
|
Loading…
Reference in New Issue
Block a user