given the regular "you need to port your header ..." message

This commit is contained in:
Ralf Becker 2005-03-03 11:01:19 +00:00
parent e82027d0cb
commit 8052da02bc

View File

@ -58,7 +58,7 @@
}
/* Make sure the header.inc.php is current. */
if ($GLOBALS['egw_info']['server']['versions']['header'] < $GLOBALS['egw_info']['server']['versions']['current_header'])
if (!isset($GLOBALS['egw_info']) || $GLOBALS['egw_info']['server']['versions']['header'] < $GLOBALS['egw_info']['server']['versions']['current_header'])
{
echo '<center><b>You need to port your settings to the new header.inc.php version by running <a href="setup/manageheader.php">setup/headeradmin</a>.</b></center>';
exit;