From c63f7de001f88e37ce6d7eaa241070fa29f89073 Mon Sep 17 00:00:00 2001
From: Benoit Mortier <benoit.mortier@fusiondirectory.org>
Date: Fri, 4 Apr 2025 16:15:34 +0200
Subject: [PATCH] :handshake: fix(errorhandlers) errorhandler.php is called
 statically in config/bootstrap.php so file path should be change due to
 reorganising files

Signed-off-by: Benoit Mortier <benoit.mortier@fusiondirectory.org>
---
 config/bootstrap.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/bootstrap.php b/config/bootstrap.php
index e225c5b..22eb4e3 100644
--- a/config/bootstrap.php
+++ b/config/bootstrap.php
@@ -10,7 +10,7 @@ function autoload ($class)
   // Integrator is required
   require_once '/usr/share/php/FusionDirectory/autoloader.php';
   // avoid error handler requirements error, as it should be one of the first to load ?
-  require_once dirname(__DIR__).'/library/ErrorHandler.php';
+  require_once dirname(__DIR__).'/handlers/ErrorHandler.php';
 
   if (strpos($class, 'PHPMailer') !== FALSE) {
     require_once("/usr/share/php/libphp-phpmailer/src/Exception.php");
-- 
GitLab