mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Properly set CACHEDIR.TAG from http://www.brynosaurus.com/cachedir/
This commit is contained in:
parent
9fbe7e8d13
commit
927c4e6ed1
3 changed files with 10 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ class BackupPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$sZipHash = \MailSo\Base\Utils::Sha1Rand();
|
||||
$sZipFileName = APP_PRIVATE_DATA . $sZipHash . '.zip';
|
||||
|
||||
\touch(APP_PRIVATE_DATA.'cache/CACHEDIR.TAG');
|
||||
\file_put_contents(APP_PRIVATE_DATA.'cache/CACHEDIR.TAG', 'Signature: 8a477f597d28d172789f06886806bc55');
|
||||
|
||||
if (\class_exists('ZipArchive')) {
|
||||
// $oZip = new \ZipArchive();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue