From d1b4082ebdb97b01fc51c03a4b0905b61b874d73 Mon Sep 17 00:00:00 2001 From: jengo Date: Fri, 8 Jun 2001 13:16:00 +0000 Subject: [PATCH] Added a small section to unset $lang which has be known to cause conflicts with some apps, I didn't change the version number becuase the upgrade isn't required --- header.inc.php.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/header.inc.php.template b/header.inc.php.template index f604dd8f99..2df4cf6fa9 100644 --- a/header.inc.php.template +++ b/header.inc.php.template @@ -79,6 +79,10 @@ /**************************************************************************\ * Do not edit these lines * \**************************************************************************/ + // This is required becuase some applications (outside of phpGW) set a cookie named lang + // Which messes up phpGWs $lang array, people will pull there hair out tring to find it. + // This should make there life a little simpler. + unset($lang); define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc'); include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php'); $phpgw_info["server"]["versions"]["phpgwapi"] = $setup_info['phpgwapi']['version'];