forked from extern/egroupware
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:
parent
2e9d389a4c
commit
d1b4082ebd
@ -79,6 +79,10 @@
|
|||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* Do not edit these lines *
|
* 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');
|
define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
|
||||||
include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
|
include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
|
||||||
$phpgw_info["server"]["versions"]["phpgwapi"] = $setup_info['phpgwapi']['version'];
|
$phpgw_info["server"]["versions"]["phpgwapi"] = $setup_info['phpgwapi']['version'];
|
||||||
|
Loading…
Reference in New Issue
Block a user