Browse Source

Update inc_archives_functions.php

tags/6.1.7
tianya 2 years ago
parent
commit
9bebf8a8e4
1 changed files with 2 additions and 11 deletions
  1. +2
    -11
      src/admin/inc/inc_archives_functions.php

+ 2
- 11
src/admin/inc/inc_archives_functions.php View File

@@ -129,17 +129,8 @@ function GetCurContent($body)
$itype = ".gif";
} else if ($itype == 'image/png') {
$itype = ".png";
} else if($itype == 'video/mp4'){
$itype = ".mp4";
$isImage = false;
} else if (preg_match("#^text#i",$itype)){
$itype = ".txt";
$isImage = false;
} else if ($itype == 'application/zip'){
$itype = ".zip";
$isImage = false;
} else if ($itype == 'application/x-rar-compressed'){
$itype = ".rar";
} else if ($itype == 'audio/mpeg'){
$itype = ".mp3";
$isImage = false;
} else if($itype == 'image/jpeg') {
$itype = '.jpg';


Loading…
Cancel
Save