From 8d91aa10f0109532847377d7780bacbb07498317 Mon Sep 17 00:00:00 2001 From: Tiavina Date: Mon, 24 Feb 2025 21:05:14 +0300 Subject: [PATCH] fix autload --- gestion/lib/AppInfo/Application.php | 1 + gestion/lib/Service/Order/OrderPdfService.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gestion/lib/AppInfo/Application.php b/gestion/lib/AppInfo/Application.php index 6496c86..2e85b2b 100644 --- a/gestion/lib/AppInfo/Application.php +++ b/gestion/lib/AppInfo/Application.php @@ -3,6 +3,7 @@ //declare(strict_types=1); namespace OCA\Gestion\AppInfo; +require_once '/var/www/html/custom_apps/gestion/vendor/autoload.php'; use OCA\DAV\Events\CalendarObjectCreatedEvent; use OCA\DAV\Events\CalendarObjectMovedToTrashEvent; diff --git a/gestion/lib/Service/Order/OrderPdfService.php b/gestion/lib/Service/Order/OrderPdfService.php index ac7bb55..b132e66 100644 --- a/gestion/lib/Service/Order/OrderPdfService.php +++ b/gestion/lib/Service/Order/OrderPdfService.php @@ -25,7 +25,7 @@ declare(strict_types=1); */ namespace OCA\Gestion\Service\Order; -require_once __DIR__ . '/../../../vendor/autoload.php'; +// require_once __DIR__ . '/../../../vendor/autoload.php'; use DateTime; use OCA\Gestion\Constants\BddConstant;