mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-05 11:24:24 +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) {
|
switch (true) {
|
||||||
default:
|
default:
|
||||||
case $bForceFile:
|
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(
|
$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
|
$sKey
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue