same for archive handler
git-svn-id: file:///home/shish/svn/shimmie2/trunk@774 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
d55f97c81f
commit
935c235e63
@ -35,11 +35,7 @@ class ArchiveFileHandler extends Extension {
|
|||||||
|
|
||||||
private function supported_ext($ext) {
|
private function supported_ext($ext) {
|
||||||
$exts = array("zip");
|
$exts = array("zip");
|
||||||
$ext = strtolower($ext);
|
return array_contains($exts, strtolower($ext));
|
||||||
foreach($exts as $supported) {
|
|
||||||
if($ext == $supported) return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// copied from bulk add extension
|
// copied from bulk add extension
|
||||||
|
Loading…
x
Reference in New Issue
Block a user