From dd7466dcb3b59a5ebacb412925a96150838ae3ef Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 12 Aug 2016 11:25:20 +0200 Subject: [PATCH] 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 --- api/src/autoload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }