mirror of
https://github.com/kennethreitz-archive/wordpress-skeleton.git
synced 2026-06-19 07:01:00 +00:00
50 lines
1.8 KiB
PHP
50 lines
1.8 KiB
PHP
<?php
|
|
|
|
return array(
|
|
'jpg|jpeg|jpe' => 'image/jpeg',
|
|
'gif' => 'image/gif',
|
|
'png' => 'image/png',
|
|
'bmp' => 'image/bmp',
|
|
'tif|tiff' => 'image/tiff',
|
|
'ico' => 'image/x-icon',
|
|
'asf|asx|wax|wmv|wmx' => 'video/asf',
|
|
'avi' => 'video/avi',
|
|
'divx' => 'video/divx',
|
|
'mov|qt' => 'video/quicktime',
|
|
'mpeg|mpg|mpe' => 'video/mpeg',
|
|
'txt|c|cc|h' => 'text/plain',
|
|
'svg' => 'image/svg+xml',
|
|
'rtx' => 'text/richtext',
|
|
'css' => 'text/css',
|
|
'xsl|xsd|xml' => 'text/xml',
|
|
'htm|html' => 'text/html',
|
|
'mp3|m4a' => 'audio/mpeg',
|
|
'mp4|m4v' => 'video/mp4',
|
|
'ra|ram' => 'audio/x-realaudio',
|
|
'wav' => 'audio/wav',
|
|
'ogg' => 'audio/ogg',
|
|
'mid|midi' => 'audio/midi',
|
|
'wma' => 'audio/wma',
|
|
'rtf' => 'application/rtf',
|
|
'js' => 'application/x-javascript',
|
|
'pdf' => 'application/pdf',
|
|
'doc|docx' => 'application/msword',
|
|
'pot|pps|ppt|pptx' => 'application/vnd.ms-powerpoint',
|
|
'wri' => 'application/vnd.ms-write',
|
|
'xla|xls|xlsx|xlt|xlw' => 'application/vnd.ms-excel',
|
|
'mdb' => 'application/vnd.ms-access',
|
|
'mpp' => 'application/vnd.ms-project',
|
|
'swf' => 'application/x-shockwave-flash',
|
|
'class' => 'application/java',
|
|
'tar' => 'application/x-tar',
|
|
'zip' => 'application/zip',
|
|
'gz|gzip' => 'application/x-gzip',
|
|
'exe' => 'application/x-msdownload',
|
|
'odt' => 'application/vnd.oasis.opendocument.text',
|
|
'odp' => 'application/vnd.oasis.opendocument.presentation',
|
|
'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
|
|
'odg' => 'application/vnd.oasis.opendocument.graphics',
|
|
'odc' => 'application/vnd.oasis.opendocument.chart',
|
|
'odb' => 'application/vnd.oasis.opendocument.database',
|
|
'odf' => 'application/vnd.oasis.opendocument.formula'
|
|
); |