Browse files

new .dmg format (icon to follow) and .tgz tar gzip alias

  • Loading branch information...
1 parent 0a7b71f commit 609d84e3787d03f2b7be7f9245363fc1e2b3e512 dhawes committed Aug 4, 2005
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/filelib.php
View
2 lib/filelib.php
@@ -20,6 +20,7 @@ function mimeinfo($element, $filename) {
'cs' => array ('type'=>'application/x-csh', 'icon'=>'text.gif'),
'css' => array ('type'=>'text/css', 'icon'=>'text.gif'),
'dv' => array ('type'=>'video/x-dv', 'icon'=>'video.gif'),
+ 'dmg' => array ('type'=>'application/octet-stream', 'icon'=>'dmg.gif'),
'doc' => array ('type'=>'application/msword', 'icon'=>'word.gif'),
'dcr' => array ('type'=>'application/x-director', 'icon'=>'flash.gif'),
'dif' => array ('type'=>'video/x-dv', 'icon'=>'video.gif'),
@@ -28,6 +29,7 @@ function mimeinfo($element, $filename) {
'eps' => array ('type'=>'application/postscript', 'icon'=>'pdf.gif'),
'gif' => array ('type'=>'image/gif', 'icon'=>'image.gif'),
'gtar' => array ('type'=>'application/x-gtar', 'icon'=>'zip.gif'),
+ 'tgz' => array ('type'=>'application/g-zip', 'icon'=>'zip.gif'),
'gz' => array ('type'=>'application/g-zip', 'icon'=>'zip.gif'),
'gzip' => array ('type'=>'application/g-zip', 'icon'=>'zip.gif'),
'h' => array ('type'=>'text/plain', 'icon'=>'text.gif'),

0 comments on commit 609d84e

Please sign in to comment.