mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 00:37:54 +02:00
"Grrr: MyDMS mixes egw_info and phpgw_info"
This commit is contained in:
@ -13,9 +13,16 @@
|
||||
*/
|
||||
|
||||
// allow to migrate from phpgw_info to egw_info
|
||||
if (!isset($GLOBALS['egw_info']))
|
||||
if (!isset($GLOBALS['egw_info']) || in_array($GLOBALS['egw_info']['flags']['currentapp'],array('jinn','mydms','tts')))
|
||||
{
|
||||
$GLOBALS['egw_info'] =& $GLOBALS['phpgw_info'];
|
||||
if (!isset($GLOBALS['egw_info']))
|
||||
{
|
||||
$GLOBALS['egw_info'] =& $GLOBALS['phpgw_info'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['phpgw_info'] =& $GLOBALS['egw_info'];
|
||||
}
|
||||
$GLOBALS['egw_info']['flags']['phpgw_compatibility'] = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user