mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
[feature/attach-dl] Moved definition of $archive_name
PHPBB3-11042
This commit is contained in:
parent
bf3f381c7c
commit
6376cfe766
@ -353,9 +353,9 @@ else
|
||||
|
||||
$clean_name = phpbb_download_clean_filename($row['attach_subject']);
|
||||
$suffix = '_' . (($post_id) ? $post_id : $topic_id) . '_' . $clean_name;
|
||||
$archive_name = 'attachments' . $suffix;
|
||||
|
||||
$store_name = 'att_' . time() . '_' . unique_id();
|
||||
$archive_name = 'attachments' . $suffix;
|
||||
$archive_path = "{$phpbb_root_path}store/{$store_name}{$archive}";
|
||||
|
||||
if ($archive === '.zip')
|
||||
|
Loading…
x
Reference in New Issue
Block a user