From 240dd63f4eb0759d0d8ce6bfd81ff64fa76ccc05 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sun, 8 Mar 2009 07:23:16 +0100 Subject: fix incorrectly spelled "feof()" + some comment spelling/grammar darcs-hash:20090308062316-f07c6-d7090f4706fbecaddb13d028368061c559811840.gz --- inc/TarLib.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/TarLib.class.php') 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 -- cgit v1.2.3