mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Update demo plugin
This commit is contained in:
parent
a28d8f4e04
commit
e4e26d799c
2 changed files with 3 additions and 3 deletions
|
|
@ -16,9 +16,9 @@ class DemoStorage extends \RainLoop\Providers\Storage\FileStorage
|
|||
\MailSo\Base\Utils::RecRmDir("{$this->sDataPath}/demo");
|
||||
}
|
||||
|
||||
$sDataPath .= '/' . static::fixName(\RainLoop\Utils::GetConnectionToken());
|
||||
$sDataPath .= '/' . \RainLoop\Utils::fixName(\RainLoop\Utils::GetConnectionToken());
|
||||
\is_dir($sDataPath) || \mkdir($sDataPath, 0700, true);
|
||||
|
||||
return $sDataPath . '/' . ($sKey ? static::fixName($sKey) : '');
|
||||
return $sDataPath . '/' . ($sKey ? \RainLoop\Utils::fixName($sKey) : '');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue