mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 10:30:42 +00:00
add extension for application/x-xz
This commit is contained in:
parent
ac29815974
commit
f95ebce720
|
|
@ -743,6 +743,7 @@ function get_extension($mimetype) { /* {{{ */
|
||||||
case 'video/webm': return '.webm';
|
case 'video/webm': return '.webm';
|
||||||
case 'application/zip': return '.zip';
|
case 'application/zip': return '.zip';
|
||||||
case 'application/x-gzip': return '.gz';
|
case 'application/x-gzip': return '.gz';
|
||||||
|
case 'application/x-xz': return '.xz';
|
||||||
case 'application/x-rar': return '.rar';
|
case 'application/x-rar': return '.rar';
|
||||||
case 'application/x-7z-compressed': return '.7z';
|
case 'application/x-7z-compressed': return '.7z';
|
||||||
case 'application/x-compressed-tar': return '.tgz';
|
case 'application/x-compressed-tar': return '.tgz';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user