mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #893
This commit is contained in:
parent
3396a3d791
commit
a86c143160
6 changed files with 15 additions and 22 deletions
|
|
@ -31,7 +31,7 @@ class DemoStorage extends \RainLoop\Providers\Storage\FileStorage
|
|||
}
|
||||
}
|
||||
|
||||
$sDataPath .= '/' . \RainLoop\Utils::fixName(\RainLoop\Utils::GetConnectionToken());
|
||||
$sDataPath .= '/' . \MailSo\Base\Utils::SecureFileName(\RainLoop\Utils::GetConnectionToken());
|
||||
if (!\is_dir($sDataPath) && \mkdir($sDataPath, 0700, true)) {
|
||||
\file_put_contents("{$sDataPath}/settings",'{"RemoveColors":true,"ListInlineAttachments":true}');
|
||||
if (\mkdir($sDataPath.'/.gnupg/private-keys-v1.d', 0700, true)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue