mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[feature/attach-dl] Moved definition of $archive_name
PHPBB3-11042
This commit is contained in:
parent
bf3f381c7c
commit
6376cfe766
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue