aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-04-29 20:06:25 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-04-29 20:06:25 +0000
commit3a4e4374dc3a788b5ccafa882da92421fd301866 (patch)
tree15d270f812732dab91833b011c7ec160747fa842 /phpBB/download.php
parent81cd87fe10c0fc8f08ffb02834db9dd7012383a5 (diff)
downloadforums-3a4e4374dc3a788b5ccafa882da92421fd301866.tar
forums-3a4e4374dc3a788b5ccafa882da92421fd301866.tar.gz
forums-3a4e4374dc3a788b5ccafa882da92421fd301866.tar.bz2
forums-3a4e4374dc3a788b5ccafa882da92421fd301866.tar.xz
forums-3a4e4374dc3a788b5ccafa882da92421fd301866.zip
further work on the attachment panel... and see how plain those icons are... these are the correct ones to rip ;)
Hopefully someone will make some nice upload icons. :) git-svn-id: file:///svn/phpbb/trunk@3959 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download.php')
-rw-r--r--phpBB/download.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/phpBB/download.php b/phpBB/download.php
index a41b040c4e..42753a5d11 100644
--- a/phpBB/download.php
+++ b/phpBB/download.php
@@ -198,16 +198,12 @@ function send_file_to_browser($real_filename, $mimetype, $physical_filename, $up
header('Content-Transfer-Encoding: none');
// Send out the Headers
- if ($browser_agent == 'ie')
- {
- header('Content-Type: ' . $mimetype);
- header('Content-Disposition: inline; filename="' . $real_filename . '"');
- }
- else
- {
+ header('Content-Type: ' . $mimetype . '; name="' . $real_filename . '"');
+ header('Content-Disposition: inline; filename="' . $real_filename . '"');
+/*
header('Content-Type: ' . $mimetype . '; name="' . $real_filename . '"');
header('Content-Disposition: attachment; filename=' . $real_filename);
- }
+*/
// Now send the File Contents to the Browser
if ($gotit)