summaryrefslogtreecommitdiffstats
path: root/system/libraries/Zip.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-02 00:08:34 +0200
committeradmin <devnull@localhost>2006-10-02 00:08:34 +0200
commit0f8015fcdc4eb7a2bedc6a04548e588b39914c60 (patch)
treeb0966f6a12c6c87dd94c746f07c8b34de57b63e5 /system/libraries/Zip.php
parente95014f7752ed459075b7270c324b3a8f68dc4e7 (diff)
Diffstat (limited to 'system/libraries/Zip.php')
-rw-r--r--system/libraries/Zip.php6
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;
}