From d1af997d8add0dc3f93286a0108b04a150111d63 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Oct 2008 15:32:34 +0000 Subject: [PATCH] "fixed not working MyDMS reported on the user list, you have to re-generate the header via setup >> header-admin" --- header.inc.php.template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/header.inc.php.template b/header.inc.php.template index 660fdc61d0..6d71df5435 100644 --- a/header.inc.php.template +++ b/header.inc.php.template @@ -13,9 +13,7 @@ */ // allow to migrate from phpgw_info to egw_info -if (!isset($GLOBALS['egw_info']) || - isset($GLOBALS['egw_info']['flags']['phpgw_compatibility']) && $GLOBALS['egw_info']['flags']['phpgw_compatibility'] || - in_array($GLOBALS['egw_info']['flags']['currentapp'],array('jinn','mydms','tts'))) +if (!isset($GLOBALS['egw_info'])) { $GLOBALS['egw_info'] =& $GLOBALS['phpgw_info']; $GLOBALS['egw_info']['flags']['phpgw_compatibility'] = true; @@ -106,7 +104,7 @@ if (isset($GLOBALS['egw_info']['flags']['phpgw_compatibility']) && $GLOBALS['egw if(!isset($GLOBALS['egw_info']['flags']['noapi']) || !$GLOBALS['egw_info']['flags']['noapi']) { ob_start(); // to prevent error messages to be send before our headers - include(EGW_API_INC . '/functions.inc.php'); + require_once(EGW_API_INC . '/functions.inc.php'); } else {