summaryrefslogtreecommitdiffstats
path: root/system/helpers/file_helper.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-21 21:44:22 +0200
committeradmin <devnull@localhost>2006-10-21 21:44:22 +0200
commite334c472fb4be44feec3a73402fc4a2b062cbfc0 (patch)
tree553f17d67e7ef652016ec85b2a576bb2210f0ff8 /system/helpers/file_helper.php
parentbd6bee75dd26ade1c8d9cfd104bb913065797c59 (diff)
Diffstat (limited to 'system/helpers/file_helper.php')
-rw-r--r--system/helpers/file_helper.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 7a04324e4..c9c21380d 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -7,12 +7,12 @@
* @package CodeIgniter
* @author Rick Ellis
* @copyright Copyright (c) 2006, pMachine, Inc.
- * @license http://www.codeignitor.com/user_guide/license.html
+ * @license http://www.codeignitor.com/user_guide/license.html
* @link http://www.codeigniter.com
* @since Version 1.0
* @filesource
*/
-
+
// ------------------------------------------------------------------------
/**
@@ -56,13 +56,13 @@ function read_file($file)
flock($fp, LOCK_SH);
$data = '';
- if (filesize($file) > 0)
+ if (filesize($file) > 0)
{
- $data =& fread($fp, filesize($file));
+ $data =& fread($fp, filesize($file));
}
flock($fp, LOCK_UN);
- fclose($fp);
+ fclose($fp);
return $data;
}
@@ -72,7 +72,7 @@ function read_file($file)
/**
* Write File
*
- * Writes data to the file specified in the path.
+ * Writes data to the file specified in the path.
* Creates a new file if non-existent.
*
* @access public
@@ -119,7 +119,7 @@ function delete_files($path, $del_dir = FALSE, $level = 0)
return;
while(FALSE !== ($filename = @readdir($current_dir)))
- {
+ {
if ($filename != "." and $filename != "..")
{
if (is_dir($path.'/'.$filename))