diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/TarLib.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/TarLib.class.php b/inc/TarLib.class.php index 24adddac7..91f707e4b 100644 --- a/inc/TarLib.class.php +++ b/inc/TarLib.class.php @@ -274,7 +274,7 @@ class TarLib $fp = @fopen($archive,'rb'); if(!$fp) return -4; - while(!foef($fp)) echo fread($fp,2048); + while(!feof($fp)) echo fread($fp,2048); } else { @@ -331,7 +331,7 @@ class TarLib * contents are only stored in memory. This function should not be used to * add files to an existing archive, you should use Add() instead. * - * The FileList supports actually three différents modes : + * The FileList actually supports three different modes : * * - You can pass a string containing filenames separated by pipes '|'. * In this case the file are read from the webserver filesystem and the @@ -341,7 +341,7 @@ class TarLib * filenames. The behaviour for the content reading is the same that a * '|'ed string. * - * - The more useful usage is to pass bidimentional arrays, where the + * - The more useful usage is to pass bidimensional arrays, where the * first element contains the filename and the second contains the file * contents. You can even add empty folders to the package if the filename * has a leading '/'. Once again, have a look at the exemples to understand |