diff options
author | David M <davidmj@users.sourceforge.net> | 2005-12-15 12:42:23 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2005-12-15 12:42:23 +0000 |
commit | ceb10e1b2fbfe4ea38d3068a522a2183c8f23b11 (patch) | |
tree | c79a03201e369e9171663038e92dd97741a9e449 /phpBB/includes/functions_compress.php | |
parent | a7dcdb07602f9d1e72cfbcd2c0c02c3dacd06320 (diff) | |
download | forums-ceb10e1b2fbfe4ea38d3068a522a2183c8f23b11.tar forums-ceb10e1b2fbfe4ea38d3068a522a2183c8f23b11.tar.gz forums-ceb10e1b2fbfe4ea38d3068a522a2183c8f23b11.tar.bz2 forums-ceb10e1b2fbfe4ea38d3068a522a2183c8f23b11.tar.xz forums-ceb10e1b2fbfe4ea38d3068a522a2183c8f23b11.zip |
- 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
Diffstat (limited to 'phpBB/includes/functions_compress.php')
-rw-r--r-- | phpBB/includes/functions_compress.php | 3 |
1 files changed, 0 insertions, 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); |