mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user