mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-06 13:12:20 +03:00
Resolve #601
This commit is contained in:
parent
e7b06496d2
commit
2fc2b0cb1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue