diff --git a/src/admin/inc/inc_archives_functions.php b/src/admin/inc/inc_archives_functions.php index ba45075a..689a1f0d 100644 --- a/src/admin/inc/inc_archives_functions.php +++ b/src/admin/inc/inc_archives_functions.php @@ -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';