From 7fbc1c9248e5c467d8655c5c6c7d39a399588f93 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 4 Jul 2004 10:30:42 +0000 Subject: [PATCH] if the header needs upgrading, start the headermanagement direct and not check_install as we do for new installs --- setup/index.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/setup/index.php b/setup/index.php index f84abec1bb..4235998f41 100644 --- a/setup/index.php +++ b/setup/index.php @@ -54,8 +54,14 @@ $GLOBALS['phpgw_info']['setup']['stage']['header'] = $GLOBALS['phpgw_setup']->detection->check_header(); if ($GLOBALS['phpgw_info']['setup']['stage']['header'] != '10') { -// Header('Location: manageheader.php'); - Header('Location: check_install.php?intro=1'); + if ($GLOBALS['phpgw_info']['setup']['stage']['header'] == 4) // header needs update, go there direct + { + Header('Location: manageheader.php'); + } + else // run check-install first + { + Header('Location: check_install.php?intro=1'); + } exit; } elseif(!$GLOBALS['phpgw_setup']->auth('Config'))