mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
"Grrr: MyDMS mixes egw_info and phpgw_info"
This commit is contained in:
parent
d1af997d8a
commit
e2a0af67cc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user