diff options
author | Fyorl <gaelreth@gmail.com> | 2012-08-15 06:04:12 +0800 |
---|---|---|
committer | Fyorl <gaelreth@gmail.com> | 2012-08-15 06:04:12 +0800 |
commit | 6376cfe76604ebaab62f80dbddfc677d298a2f05 (patch) | |
tree | b238173c8428ba6a1851f11c3fc4c9f3740c15cd /phpBB/download/file.php | |
parent | bf3f381c7c964e5de3d87c539dec9886e4226f7b (diff) | |
download | forums-6376cfe76604ebaab62f80dbddfc677d298a2f05.tar forums-6376cfe76604ebaab62f80dbddfc677d298a2f05.tar.gz forums-6376cfe76604ebaab62f80dbddfc677d298a2f05.tar.bz2 forums-6376cfe76604ebaab62f80dbddfc677d298a2f05.tar.xz forums-6376cfe76604ebaab62f80dbddfc677d298a2f05.zip |
[feature/attach-dl] Moved definition of $archive_name
PHPBB3-11042
Diffstat (limited to 'phpBB/download/file.php')
-rw-r--r-- | phpBB/download/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 2ee77926ed..8643ae9e28 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -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') |