From 36412a29abbee24f75294c8ccb45893dc36a52fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 18 May 2012 15:17:07 +0200 Subject: [PATCH] Zip now decompresses "12" = bzip2 as well --- wcfsetup/install/files/lib/system/io/Zip.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/system/io/Zip.class.php b/wcfsetup/install/files/lib/system/io/Zip.class.php index 112f5ebe3c..b6f2f22048 100644 --- a/wcfsetup/install/files/lib/system/io/Zip.class.php +++ b/wcfsetup/install/files/lib/system/io/Zip.class.php @@ -305,6 +305,9 @@ class Zip extends File implements IArchive { switch ($header['compression']) { case 8: $content = gzinflate($content); + break; + case 12: + $content = bzdecompress($content); case 0: break; default: -- 2.20.1