diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-14 13:12:08 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-14 13:12:08 +0000 |
commit | 83abd98a3d39ffaeeafa822b553cd1e266df890a (patch) | |
tree | 6091c1f41dfcff66bb67036630be5ab312c07bab /phpBB/download | |
parent | 2b60a090eec8bd5cc3778379c730e4c9e1dd38eb (diff) | |
download | forums-83abd98a3d39ffaeeafa822b553cd1e266df890a.tar forums-83abd98a3d39ffaeeafa822b553cd1e266df890a.tar.gz forums-83abd98a3d39ffaeeafa822b553cd1e266df890a.tar.bz2 forums-83abd98a3d39ffaeeafa822b553cd1e266df890a.tar.xz forums-83abd98a3d39ffaeeafa822b553cd1e266df890a.zip |
fix download location for img wrap
git-svn-id: file:///svn/phpbb/trunk@8180 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download')
-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 ad2abf880e..0cc5b1465b 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -239,7 +239,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) { - wrap_img_in_html(append_sid('./download.' . $phpEx, 'id=' . $attachment['attach_id']), $attachment['real_filename']); + wrap_img_in_html(append_sid($phpbb_root_path . 'download/file.' . $phpEx, 'id=' . $attachment['attach_id']), $attachment['real_filename']); } else { |