Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added mimetype and icon for avi-files.

  • Loading branch information...
commit d2802df5539eb74ba9505b312d8b27736f9985c7 1 parent 44a334d
paca70 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  files/mimetypes.php
  2. BIN  files/pix/avi.gif
View
3  files/mimetypes.php
@@ -20,7 +20,8 @@ function mimeinfo($element, $filename) {
"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"),
- "xls" => array ("type"=>"application/vnd.ms-excel", "icon"=>"excel.gif")
+ "xls" => array ("type"=>"application/vnd.ms-excel", "icon"=>"excel.gif"),
+ "avi" => array ("type"=>"video/x-ms-wm", "icon"=>"avi.gif")
);
if (eregi("\.([a-z0-9]+)$", $filename, $match)) {
View
BIN  files/pix/avi.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d2802df

Please sign in to comment.
Something went wrong with that request. Please try again.