diff options
author | admin <devnull@localhost> | 2006-10-02 00:08:34 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-02 00:08:34 +0200 |
commit | 0f8015fcdc4eb7a2bedc6a04548e588b39914c60 (patch) | |
tree | b0966f6a12c6c87dd94c746f07c8b34de57b63e5 /system/libraries/Zip.php | |
parent | e95014f7752ed459075b7270c324b3a8f68dc4e7 (diff) |
Diffstat (limited to 'system/libraries/Zip.php')
-rw-r--r-- | system/libraries/Zip.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index a11699956..218388314 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -227,7 +227,7 @@ class CI_Zip { // -------------------------------------------------------------------- /** - * Write File + * Write File to the specified direcotry * * Lets you write a file * @@ -236,9 +236,9 @@ class CI_Zip { * @param string the data to be encoded * @return bool */ - function write_zip($filepath) + function archive($filepath) { - if ( ! ($fp = fopen($filepath, "wb"))) + if ( ! ($fp = @fopen($filepath, "wb"))) { return FALSE; } |