From 4e02a1105b80861d3f158730e1b4d985158de8e0 Mon Sep 17 00:00:00 2001 From: paolo Date: Fri, 22 Apr 2016 10:00:24 +0200 Subject: [PATCH] Fixed wrong path in require statement --- include/AddonAuthentication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/AddonAuthentication.php b/include/AddonAuthentication.php index 67cbf1cfa..f06823eda 100644 --- a/include/AddonAuthentication.php +++ b/include/AddonAuthentication.php @@ -5,7 +5,7 @@ * CI_Hack couldn't be included here because this class is called every time an addon * makes an API call, so it would raise a lot of "already declared" errors */ -require_once('/var/www/fhc/fhcomplete/vendor/codeigniter/framework/system/core/Model.php'); +require_once(dirname(__FILE__).'/../vendor/codeigniter/framework/system/core/Model.php'); require_once(dirname(__FILE__).'/../application/core/FHC_Model.php'); /**