mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-03-05 19:23:48 +08:00
Enable thread view in demo #445
This commit is contained in:
parent
7135af995d
commit
612aa09071
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ class DemoStorage extends \RainLoop\Providers\Storage\FileStorage
|
|||
}
|
||||
$sDataPath .= '/' . \MailSo\Base\Utils::SecureFileName($_COOKIE['smctoken']);
|
||||
if (!\is_dir($sDataPath) && \mkdir($sDataPath, 0700, true)) {
|
||||
\file_put_contents("{$sDataPath}/settings",'{"RemoveColors":true,"ListInlineAttachments":true}');
|
||||
\file_put_contents("{$sDataPath}/settings",'{"RemoveColors":true,"ListInlineAttachments":true,"listGrouped":true}');
|
||||
\file_put_contents("{$sDataPath}/settings_local",'{"UseThreads":true}');
|
||||
if (\mkdir($sDataPath.'/.gnupg/private-keys-v1.d', 0700, true)) {
|
||||
// AES
|
||||
\file_put_contents("{$sDataPath}/.gnupg/private-keys-v1.d/3106F4281F98D820114228FEF16B5BA0D78AA005.key",file_get_contents("{$this->sDataPath}/demo.pgp/.gnupg/private-keys-v1.d/3106F4281F98D820114228FEF16B5BA0D78AA005.key"));
|
||||
|
|
Loading…
Reference in a new issue