From 2fc2b0cb1ea897ec36c70d7023de7fd0f23bc093 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 31 Oct 2022 19:34:32 +0100 Subject: [PATCH] Resolve #601 --- integrations/nextcloud/snappymail/lib/Util/SnappyMailHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/nextcloud/snappymail/lib/Util/SnappyMailHelper.php b/integrations/nextcloud/snappymail/lib/Util/SnappyMailHelper.php index a3022f24f..54eca8299 100644 --- a/integrations/nextcloud/snappymail/lib/Util/SnappyMailHelper.php +++ b/integrations/nextcloud/snappymail/lib/Util/SnappyMailHelper.php @@ -13,7 +13,7 @@ class SnappyMailHelper // Nextcloud the default spl_autoload_register() not working \spl_autoload_register(function($sClassName){ - $file = RAINLOOP_APP_LIBRARIES_PATH . \strtolower(\strtr($sClassName, '\\', DIRECTORY_SEPARATOR)) . '.php'; + $file = SNAPPYMAIL_LIBRARIES_PATH . \strtolower(\strtr($sClassName, '\\', DIRECTORY_SEPARATOR)) . '.php'; if (\is_file($file)) { include_once $file; }