mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-10-31 17:43:32 +03:00
v2.19.7
This commit is contained in:
parent
486878127d
commit
7bca4fb6af
8 changed files with 12 additions and 12 deletions
|
|
@ -27,7 +27,7 @@
|
|||
/**
|
||||
* Custom 'data' folder path
|
||||
*/
|
||||
if (!empty($_ENV['SNAPPYMAIL_NEXTCLOUD'])) {
|
||||
if (class_exists('OC')) {
|
||||
define('APP_DATA_FOLDER_PATH', \rtrim(\trim(\OC::$server->getSystemConfig()->getValue('datadirectory', '')), '\\/').'/appdata_snappymail/');
|
||||
} else {
|
||||
http_response_code(400);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue