mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:49:25 +08:00
Update files.js
This commit is contained in:
@@ -1461,7 +1461,7 @@ function unZip(fileName, type) {
|
||||
function isCompressFile(fileName){
|
||||
var ext = fileName.split('.');
|
||||
var extName = ext[ext.length-1].toLowerCase();
|
||||
var support = ['zip','gz','tgz','rar','7z'];
|
||||
var support = ['zip','gz','tgz','rar','7z','xz'];
|
||||
for (x in support) {
|
||||
if (support[x]==extName){
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user