This commit is contained in:
the-djmaze 2022-10-31 19:34:32 +01:00
parent e7b06496d2
commit 2fc2b0cb1e

View file

@ -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;
}