commit | 3be20e26b7d3c0f60bc60b314a85138100edab52 | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Mon May 05 20:07:09 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Mon May 05 20:07:09 2008 +0000 |
tree | bd134700b39e5331a190d47684ddf29c11cd951e | |
parent | 14031d152b76e7744d6f8a70964ecae77ca55179 [diff] [blame] |
tweak to the new fopen mode constant names
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index 6b59880..f7f47ab 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php
@@ -301,7 +301,7 @@ */ function archive($filepath) { - if (! ($fp = @fopen($filepath, FOPEN_WRITE_CREATE_BOF))) + if (! ($fp = @fopen($filepath, FOPEN_WRITE_CREATE_DESTRUCTIVE))) { return FALSE; }