mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
fix PHP Fatal from old code using EGW_API_INC, that should point to old api and usage is decrecated in favor of autoloading anyway
This commit is contained in:
parent
780d35c096
commit
f3649bf021
@ -19,7 +19,7 @@ if (!defined('EGW_SERVER_ROOT'))
|
|||||||
{
|
{
|
||||||
define('EGW_SERVER_ROOT', dirname(dirname(__DIR__)));
|
define('EGW_SERVER_ROOT', dirname(dirname(__DIR__)));
|
||||||
define('EGW_INCLUDE_ROOT', EGW_SERVER_ROOT);
|
define('EGW_INCLUDE_ROOT', EGW_SERVER_ROOT);
|
||||||
define('EGW_API_INC', __DIR__);
|
define('EGW_API_INC', EGW_SERVER_ROOT.'/phpgwapi/inc');
|
||||||
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
|
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user