From c0785b1da251d89eb446ec4b9f096db6d23b0c1f Mon Sep 17 00:00:00 2001 From: pabs Date: Thu, 29 Jan 2009 14:16:56 -0500 Subject: adjust version needed to try and fix windows --- zipstream.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zipstream.php') diff --git a/zipstream.php b/zipstream.php index fd86284..f73bcb0 100644 --- a/zipstream.php +++ b/zipstream.php @@ -295,7 +295,7 @@ class ZipStream { # build file header $fields = array( # (from V.A of APPNOTE.TXT) array('V', 0x04034b50), # local file header signature - array('v', 0x14), # version needed to extract + array('v', 0x20), # version needed to extract array('v', 0x00), # general purpose bit flag array('v', $meth), # compresion method (deflate or store) array('V', $dts), # dos timestamp @@ -409,7 +409,7 @@ class ZipStream { $fields = array( # (from V,F of APPNOTE.TXT) array('V', 0x02014b50), # central file header signature array('v', 0x00), # version made by - array('v', 0x14), # version needed to extract + array('v', 0x20), # version needed to extract array('v', 0x00), # general purpose bit flag array('v', $meth), # compresion method (deflate or store) array('V', $dts), # dos timestamp @@ -421,7 +421,7 @@ class ZipStream { array('v', strlen($comment)), # file comment length array('v', 0), # disk number start array('v', 0), # internal file attributes - array('V', 0), # external file attributes + array('V', 32), # external file attributes array('V', $ofs), # relative offset of local header ); -- cgit v1.2.3