Ticket #16412: 16412.diff
File 16412.diff, 1.0 KB (added by , 14 years ago) |
---|
-
functions.php
2360 2360 'spreadsheet' => array( 'numbers', 'ods', 'xls', 'xlsx', 'xlsb', 'xlsm' ), 2361 2361 'interactive' => array( 'key', 'ppt', 'pptx', 'pptm', 'odp', 'swf' ), 2362 2362 'text' => array( 'asc', 'csv', 'tsv', 'txt' ), 2363 'archive' => array( 'bz2', 'cab', 'dmg', 'gz', 'rar', 'sea', 'sit', 'sqx', 'tar', 'tgz', 'zip' ),2363 'archive' => array( 'bz2', 'cab', 'dmg', 'gz', 'rar', 'sea', 'sit', 'sqx', 'tar', 'tgz', 'zip', '7z' ), 2364 2364 'code' => array( 'css', 'htm', 'html', 'php', 'js' ), 2365 2365 )); 2366 2366 foreach ( $ext2type as $type => $exts ) … … 2525 2525 'tar' => 'application/x-tar', 2526 2526 'zip' => 'application/zip', 2527 2527 'gz|gzip' => 'application/x-gzip', 2528 'rar' => 'application/rar', 2529 '7z' => 'application/x-7z-compressed', 2528 2530 'exe' => 'application/x-msdownload', 2529 2531 // openoffice formats 2530 2532 'odt' => 'application/vnd.oasis.opendocument.text',