mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
"fix for \"Undefined index phpgw_compatibility\" reported by JoKe on the German list"
This commit is contained in:
parent
d25b648258
commit
906bf5f450
@ -13,7 +13,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// allow to migrate from phpgw_info to egw_info
|
// allow to migrate from phpgw_info to egw_info
|
||||||
if (!isset($GLOBALS['egw_info']) || isset($GLOBALS['egw_info']['flags']['phpgw_compatibility']) ||
|
if (!isset($GLOBALS['egw_info']) ||
|
||||||
|
isset($GLOBALS['egw_info']['flags']['phpgw_compatibility']) && $GLOBALS['egw_info']['flags']['phpgw_compatibility'] ||
|
||||||
in_array($GLOBALS['egw_info']['flags']['currentapp'],array('jinn','mydms','tts')))
|
in_array($GLOBALS['egw_info']['flags']['currentapp'],array('jinn','mydms','tts')))
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_info'] =& $GLOBALS['phpgw_info'];
|
$GLOBALS['egw_info'] =& $GLOBALS['phpgw_info'];
|
||||||
@ -89,7 +90,7 @@ unset($setup_info);
|
|||||||
$GLOBALS['egw_info']['server']['versions']['header'] = '1.28';
|
$GLOBALS['egw_info']['server']['versions']['header'] = '1.28';
|
||||||
|
|
||||||
// some not longer necessary defines
|
// some not longer necessary defines
|
||||||
if ($GLOBALS['egw_info']['flags']['phpgw_compatibility'])
|
if (isset($GLOBALS['egw_info']['flags']['phpgw_compatibility']) && $GLOBALS['egw_info']['flags']['phpgw_compatibility'])
|
||||||
{
|
{
|
||||||
define('PHPGW_API_INC',EGW_API_INC);
|
define('PHPGW_API_INC',EGW_API_INC);
|
||||||
define('PHPGW_SERVER_ROOT',EGW_SERVER_ROOT);
|
define('PHPGW_SERVER_ROOT',EGW_SERVER_ROOT);
|
||||||
|
Loading…
Reference in New Issue
Block a user