Parcourir la source

Update inc_archives_functions.php

tags/6.1.7
tianya il y a 2 ans
Parent
révision
9bebf8a8e4
1 fichiers modifiés avec 2 ajouts et 11 suppressions
  1. +2
    -11
      src/admin/inc/inc_archives_functions.php

+ 2
- 11
src/admin/inc/inc_archives_functions.php Voir le fichier

@@ -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';


Chargement…
Annuler
Enregistrer