diff --git a/api/src/autoload.php b/api/src/autoload.php index 4cdf971d1d..369ca317d7 100755 --- a/api/src/autoload.php +++ b/api/src/autoload.php @@ -19,7 +19,7 @@ if (!defined('EGW_SERVER_ROOT')) { define('EGW_SERVER_ROOT', dirname(dirname(__DIR__))); 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); }