From ceb10e1b2fbfe4ea38d3068a522a2183c8f23b11 Mon Sep 17 00:00:00 2001 From: David M Date: Thu, 15 Dec 2005 12:42:23 +0000 Subject: [PATCH] - Now creates vaild ZIP archives, "Data Descriptor" is not needed and breaks things. git-svn-id: file:///svn/phpbb/trunk@5335 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_compress.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/phpBB/includes/functions_compress.php b/phpBB/includes/functions_compress.php index 4c5d37f68e..2c2d032b0e 100644 --- a/phpBB/includes/functions_compress.php +++ b/phpBB/includes/functions_compress.php @@ -340,9 +340,6 @@ class compress_zip extends compress $fr .= $name; $fr .= $zdata; unset($zdata); - $fr .= pack('V', $crc); // crc32 4bytes - $fr .= pack('V', $c_len); // compressed filesize 4bytes - $fr .= pack('V', $unc_len); // uncompressed filesize 4bytes $this->datasec_len += strlen($fr);