Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added mimetype and icon for avi-files.

  • Loading branch information...
commit d2802df5539eb74ba9505b312d8b27736f9985c7 1 parent 44a334d
authored April 20, 2003
3  files/mimetypes.php
@@ -20,7 +20,8 @@ function mimeinfo($element, $filename) {
20 20
         "pdf"  => array ("type"=>"application/pdf", "icon"=>"pdf.gif"),
21 21
         "doc"  => array ("type"=>"application/msword", "icon"=>"word.gif"),
22 22
         "ppt"  => array ("type"=>"application/vnd.ms-powerpoint", "icon"=>"powerpoint.gif"),
23  
-        "xls"  => array ("type"=>"application/vnd.ms-excel", "icon"=>"excel.gif")
  23
+        "xls"  => array ("type"=>"application/vnd.ms-excel", "icon"=>"excel.gif"),
  24
+        "avi"  => array ("type"=>"video/x-ms-wm", "icon"=>"avi.gif")
24 25
     );
25 26
 
26 27
     if (eregi("\.([a-z0-9]+)$", $filename, $match)) {
BIN  files/pix/avi.gif

0 notes on commit d2802df

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