filelib: Add .ics files to the mimetypes array.

Required so that .ics files can be attached to e-mails using the email_to_user
function. The facetoface module is doing this.

(from Nigel McNie <[email protected]>)
This commit is contained in:
fmarier
2008-06-09 05:33:52 +00:00
parent 8ba8fe0841
commit 7b30c23b87
+1
View File
@@ -333,6 +333,7 @@ function get_mimetypes_array() {
'xhtml'=> array ('type'=>'application/xhtml+xml', 'icon'=>'html.gif'),
'htm' => array ('type'=>'text/html', 'icon'=>'html.gif'),
'ico' => array ('type'=>'image/vnd.microsoft.icon', 'icon'=>'image.gif'),
'ics' => array ('type'=>'text/calendar', 'icon'=>'text.gif'),
'isf' => array ('type'=>'application/inspiration', 'icon'=>'isf.gif'),
'ist' => array ('type'=>'application/inspiration.template', 'icon'=>'isf.gif'),
'java' => array ('type'=>'text/plain', 'icon'=>'text.gif'),