summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/helpers/file_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 0d33fe3f2..86c5c09db 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -87,7 +87,7 @@ if ( ! function_exists('write_file'))
{
function write_file($path, $data, $mode = FOPEN_WRITE_CREATE_DESTRUCTIVE)
{
- if ( ! $fp = fopen($path, $mode))
+ if ( ! $fp = @fopen($path, $mode))
{
return FALSE;
}