aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2009-01-29 14:23:43 -0500
committerpabs <pabs@pablotron.org>2009-01-29 14:23:43 -0500
commit6ca332db229f7a1a6c6eef45abf5ce66e1c44ec4 (patch)
tree87f157aa536795cfe7056dccaa8706aea97ad52c
parentd8b7f6f6389be56130a4f4a5efb0b894340433b6 (diff)
downloadzipstream-php-6ca332db229f7a1a6c6eef45abf5ce66e1c44ec4.tar.bz2
zipstream-php-6ca332db229f7a1a6c6eef45abf5ce66e1c44ec4.zip
another attempt at version support
-rw-r--r--zipstream.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/zipstream.php b/zipstream.php
index 077a9ff..ed3c706 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', 63), # 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', 63), # version needed to extract
array('v', 0x00), # general purpose bit flag
array('v', $meth), # compresion method (deflate or store)
array('V', $dts), # dos timestamp