mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/attach-dl] Remove the archive after it's downloaded
PHPBB3-11042
This commit is contained in:
@@ -410,5 +410,6 @@ else
|
||||
$compress->close();
|
||||
phpbb_increment_downloads($db, $attachment_ids);
|
||||
$compress->download($store_name, $archive_name);
|
||||
unlink("{$phpbb_root_path}store/{$store_name}{$archive}");
|
||||
file_gc();
|
||||
}
|
||||
|
Reference in New Issue
Block a user