mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Improve data security
This commit is contained in:
parent
5457427fc1
commit
38049e0eb9
4 changed files with 6 additions and 6 deletions
|
|
@ -93,7 +93,7 @@ class File implements \MailSo\Cache\DriverInterface
|
|||
|
||||
$sFilePath = $this->sCacheFolder.$this->sKeyPrefix.$sKeyPath;
|
||||
$dir = \dirname($sFilePath);
|
||||
if ($bMkDir && !\is_dir($dir) && !\mkdir($dir, 0755, true))
|
||||
if ($bMkDir && !\is_dir($dir) && !\mkdir($dir, 0700, true))
|
||||
{
|
||||
$sFilePath = '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue