aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2007-08-22 23:20:22 -0400
committerpabs <pabs@pablotron.org>2007-08-22 23:20:22 -0400
commita961c0ff311ff0a706ee81a11be0225dace5bfc3 (patch)
tree39982e7158f4503a3bbb85a66cffe84e488a7166
parent8f50f33bcb99c25b71f7b78bb89710c9f04c44bb (diff)
downloadzipstream-php-a961c0ff311ff0a706ee81a11be0225dace5bfc3.tar.bz2
zipstream-php-a961c0ff311ff0a706ee81a11be0225dace5bfc3.zip
add "version made by" to cdr header.
-rw-r--r--zipstream.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/zipstream.php b/zipstream.php
index 53917ec..7e55fd1 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -126,6 +126,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', 0x00), # general purpose bit flag
array('v', 0x08), # compresion method (deflate)