aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-12-17 13:43:08 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-12-17 13:43:08 +0000
commitcd6e5a85e7fd3b10bf74bfd122b4241daefb7c1e (patch)
tree6fcbf51ce8c4d9d77d1ddff553182c499ac22eec /phpBB/download
parent0481a574cedad6b0f09cb2d137e74da8f01bec47 (diff)
downloadforums-cd6e5a85e7fd3b10bf74bfd122b4241daefb7c1e.tar
forums-cd6e5a85e7fd3b10bf74bfd122b4241daefb7c1e.tar.gz
forums-cd6e5a85e7fd3b10bf74bfd122b4241daefb7c1e.tar.bz2
forums-cd6e5a85e7fd3b10bf74bfd122b4241daefb7c1e.tar.xz
forums-cd6e5a85e7fd3b10bf74bfd122b4241daefb7c1e.zip
#38995
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9203 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download')
-rw-r--r--phpBB/download/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index a89f05b8cf..2bcdcaac97 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -278,6 +278,7 @@ else if (($display_cat == ATTACHMENT_CATEGORY_NONE || $display_cat == ATTACHMENT
if ($display_cat == ATTACHMENT_CATEGORY_IMAGE && $mode === 'view' && (strpos($attachment['mimetype'], 'image') === 0) && ((strpos(strtolower($user->browser), 'msie') !== false) && (strpos(strtolower($user->browser), 'msie 8.0') === false)))
{
wrap_img_in_html(append_sid($phpbb_root_path . 'download/file.' . $phpEx, 'id=' . $attachment['attach_id']), $attachment['real_filename']);
+ file_gc();
}
else
{