diff --git a/core/coreexception.class.inc.php b/core/coreexception.class.inc.php index 2e7644a5e..555d7b334 100644 --- a/core/coreexception.class.inc.php +++ b/core/coreexception.class.inc.php @@ -4,5 +4,7 @@ * * @deprecated 3.0.0 N°3663 Exception classes were moved to `/application/exceptions`, use autoloader instead of require ! */ -require_once '../approot.inc.php'; + +require_once __DIR__ . '../approot.inc.php'; + DeprecatedCallsLog::NotifyDeprecatedFile('Classes were moved to /application/exceptions');