mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Small fix
This commit is contained in:
parent
c2fceebbf9
commit
ca30359da8
1 changed files with 6 additions and 1 deletions
|
|
@ -258,7 +258,12 @@ class OC_RainLoop_Helper
|
||||||
}
|
}
|
||||||
else if (class_exists('OC'))
|
else if (class_exists('OC'))
|
||||||
{
|
{
|
||||||
$sData = rtrim(trim(OC::$server->getSystemConfig()->getValue('datadirectory', \OC::$SERVERROOT . '/data')), '\\/').'/';
|
$sData = rtrim(trim(
|
||||||
|
OC::$server->getSystemConfig()->getValue(
|
||||||
|
'datadirectory',
|
||||||
|
isset(\OC::$SERVERROOT) ? \OC::$SERVERROOT.'/data' : ''
|
||||||
|
)
|
||||||
|
), '\\/').'/';
|
||||||
}
|
}
|
||||||
|
|
||||||
return @is_dir($sData) ? $sData.'rainloop-storage' : '';
|
return @is_dir($sData) ? $sData.'rainloop-storage' : '';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue