summaryrefslogtreecommitdiffstats
path: root/system/libraries/Log.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-05 20:29:43 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-05 20:29:43 +0200
commit14031d152b76e7744d6f8a70964ecae77ca55179 (patch)
tree2738a95460ee4efd5a70e5853f419e6a10d4539f /system/libraries/Log.php
parent5f6b5442e5a3d7fa5cf6c047ed716b82946629a2 (diff)
implemented fopen mode constants
Diffstat (limited to 'system/libraries/Log.php')
-rw-r--r--system/libraries/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Log.php b/system/libraries/Log.php
index 247aee13c..370ab7922 100644
--- a/system/libraries/Log.php
+++ b/system/libraries/Log.php
@@ -97,7 +97,7 @@ class CI_Log {
$message .= "<"."?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?".">\n\n";
}
- if (! $fp = @fopen($filepath, "a"))
+ if (! $fp = @fopen($filepath, FOPEN_WRITE_CREATE_EOF))
{
return FALSE;
}