mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 13:58:40 +01:00
remove long decrecated use of <app>/inc/(functions|header).inc.php, giving a PHP Warning because of undefined EGW_APP_INC constant
This commit is contained in:
parent
d152738321
commit
985879b56c
@ -275,18 +275,6 @@ class Egw extends Egw\Base
|
|||||||
echo $GLOBALS['egw']->framework->navbar();
|
echo $GLOBALS['egw']->framework->navbar();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load the (depricated) app include files if they exists
|
|
||||||
if (EGW_APP_INC != "" && ! preg_match ('/phpgwapi/i', EGW_APP_INC) &&
|
|
||||||
file_exists(EGW_APP_INC . '/functions.inc.php') && !isset($_GET['menuaction']))
|
|
||||||
{
|
|
||||||
include(EGW_APP_INC . '/functions.inc.php');
|
|
||||||
}
|
|
||||||
if (!@$GLOBALS['egw_info']['flags']['noheader'] && !@$GLOBALS['egw_info']['flags']['noappheader'] &&
|
|
||||||
file_exists(EGW_APP_INC . '/header.inc.php') && !isset($_GET['menuaction']))
|
|
||||||
{
|
|
||||||
include(EGW_APP_INC . '/header.inc.php');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user