summaryrefslogtreecommitdiff
path: root/inc/TarLib.class.php
diff options
context:
space:
mode:
authorChris Smith <chris.eureka@jalakai.co.uk>2009-03-08 07:23:16 +0100
committerChris Smith <chris.eureka@jalakai.co.uk>2009-03-08 07:23:16 +0100
commit240dd63f4eb0759d0d8ce6bfd81ff64fa76ccc05 (patch)
treea1245b37ba7fdc29f8188a26f52d1e7d03b4b546 /inc/TarLib.class.php
parent7965a9cf734ed195b660cd3729439614dd03815f (diff)
downloadrpg-240dd63f4eb0759d0d8ce6bfd81ff64fa76ccc05.tar.gz
rpg-240dd63f4eb0759d0d8ce6bfd81ff64fa76ccc05.tar.bz2
fix incorrectly spelled "feof()" + some comment spelling/grammar
darcs-hash:20090308062316-f07c6-d7090f4706fbecaddb13d028368061c559811840.gz
Diffstat (limited to 'inc/TarLib.class.php')
-rw-r--r--inc/TarLib.class.php6
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