mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-25 07:16:21 +08:00
Resolve #709
This commit is contained in:
parent
a34041c2dd
commit
ebaa181fd3
1 changed files with 1 additions and 3 deletions
|
@ -510,10 +510,8 @@ class Actions
|
|||
switch (true) {
|
||||
default:
|
||||
case $bForceFile:
|
||||
$sCacheDir = \trim($this->oConfig->Get('cache', 'path', '')) ?: APP_PRIVATE_DATA . 'cache';
|
||||
\is_dir($sCacheDir) || \mkdir($sCacheDir, 0700, true);
|
||||
$oDriver = new \MailSo\Cache\Drivers\File(
|
||||
\trim($this->oConfig->Get('cache', 'path', APP_PRIVATE_DATA . 'cache')),
|
||||
\trim($this->oConfig->Get('cache', 'path', '')) ?: APP_PRIVATE_DATA . 'cache',
|
||||
$sKey
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue