mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
Don't treat Flash files (.swf) like other images.
This commit is contained in:
parent
0cb29cc411
commit
e865ded4ba
@ -16,7 +16,7 @@ function mimeinfo($element, $filename) {
|
||||
"wav" => array ("type"=>"audio/wav", "icon"=>"audio.gif"),
|
||||
"mp3" => array ("type"=>"audio/mp3", "icon"=>"audio.gif"),
|
||||
"au" => array ("type"=>"audio/au", "icon"=>"audio.gif"),
|
||||
"swf" => array ("type"=>"application/x-shockwave-flash", "icon"=>"image.gif"),
|
||||
"swf" => array ("type"=>"application/x-shockwave-flash", "icon"=>"flash.gif"),
|
||||
"pdf" => array ("type"=>"application/pdf", "icon"=>"pdf.gif"),
|
||||
"doc" => array ("type"=>"application/msword", "icon"=>"word.gif"),
|
||||
"ppt" => array ("type"=>"application/vnd.ms-powerpoint", "icon"=>"powerpoint.gif"),
|
||||
|
BIN
files/pix/flash.gif
Normal file
BIN
files/pix/flash.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 583 B |
Loading…
x
Reference in New Issue
Block a user