mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: store private key failed
This commit is contained in:
parent
d4bac30719
commit
f8da8b5135
2 changed files with 11 additions and 5 deletions
|
|
@ -37,7 +37,9 @@ class DemoStorage extends \RainLoop\Providers\Storage\FileStorage
|
|||
} else if (StorageType::SESSION === $iStorageType) {
|
||||
$sDataPath .= '/.sessions';
|
||||
} else if (StorageType::PGP === $iStorageType) {
|
||||
$sDataPath = '/.pgp';
|
||||
$sDataPath .= '/.pgp';
|
||||
$sDataPath = "{$this->sDataPath}/demo.pgp/.pgp";
|
||||
$bMkDir = true;
|
||||
}
|
||||
|
||||
if ($bMkDir && !\is_dir($sDataPath) && !\mkdir($sDataPath, 0700, true))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue