summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/helpers/file_helper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index a5dc437c2..5fb31cfaa 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -200,8 +200,10 @@ function is_really_writable($file)
return FALSE;
}
+ fclose($fp);
@chmod($file, 0777);
@unlink($file);
+ return TRUE;
}
elseif (($fp = @fopen($file, 'ab')) === FALSE)
{