mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 08:16:44 +03:00
This commit is contained in:
parent
94c4b6c849
commit
ba460584bd
2 changed files with 15 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ foreach ($files as $file) {
|
|||
if (is_file($file)) {
|
||||
$name = str_replace('\\', '/', $file);
|
||||
$name = str_replace('integrations/nextcloud/snappymail/', '', $name);
|
||||
$name = str_replace('.htaccess', '_htaccess', $name);
|
||||
$hashes[$name] = hash_file('sha512', $file);
|
||||
}
|
||||
}
|
||||
|
|
@ -36,7 +37,7 @@ $nc_tar->addFromString('data/VERSION', $package->version);
|
|||
$nc_tar->addFile('data/README.md');
|
||||
$nc_tar->addFile('_include.php', 'snappymail/app/_include.php');
|
||||
*/
|
||||
$nc_tar->addFile('.htaccess', 'snappymail/app/.htaccess');
|
||||
$nc_tar->addFile('.htaccess', 'snappymail/app/_htaccess');
|
||||
$hashes['app/.htaccess'] = hash_file('sha512', '.htaccess');
|
||||
|
||||
$index = file_get_contents('index.php');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue