summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2007-08-22 23:08:18 -0400
committerpabs <pabs@pablotron.org>2007-08-22 23:08:18 -0400
commit8f50f33bcb99c25b71f7b78bb89710c9f04c44bb (patch)
tree179e67c92686f1d6ebf8bf5187da0ecb5938575d
parentf7dcea76f55a3e04284045147b855ba34a34b0cd (diff)
downloadzipstream-php-8f50f33bcb99c25b71f7b78bb89710c9f04c44bb.tar.bz2
zipstream-php-8f50f33bcb99c25b71f7b78bb89710c9f04c44bb.zip
set archive bit in add_cdr_file().
-rw-r--r--zipstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/zipstream.php b/zipstream.php
index 36df012..53917ec 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -139,7 +139,7 @@ class ZipStream {
array('v', 0), # 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
);