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:
Ralf Becker 2016-08-12 11:25:20 +02:00
parent 780d35c096
commit f3649bf021

View File

@ -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);
} }