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

This commit is contained in:
jengo 2001-06-08 13:16:00 +00:00
parent 2e9d389a4c
commit d1b4082ebd

View File

@ -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'];