aboutsummaryrefslogtreecommitdiff
path: root/zipstream.php
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2007-08-22 22:56:42 -0400
committerpabs <pabs@pablotron.org>2007-08-22 22:56:42 -0400
commitf1a70daf093f83edf5d674dd28fadb5a90fe506e (patch)
tree4d1f05a0f31dccdd59578de661a7dc73a065de04 /zipstream.php
parented65b93c15c0f0a1321b831cf51cab533da711dd (diff)
downloadzipstream-php-f1a70daf093f83edf5d674dd28fadb5a90fe506e.tar.bz2
zipstream-php-f1a70daf093f83edf5d674dd28fadb5a90fe506e.zip
Send CDR footer.
Diffstat (limited to 'zipstream.php')
-rw-r--r--zipstream.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/zipstream.php b/zipstream.php
index 8150f20..bf16c08 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -167,6 +167,9 @@ class ZipStream {
array('V', $cdr_ofs), # cdr ofs
array('v', 0x00), # zip file comment length
);
+
+ $ret = $this->pack_fields($fields);
+ $this->send($ret);
}
function add_cdr() {