summaryrefslogtreecommitdiffstats
path: root/system/libraries/Log.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-04-04 20:56:04 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-04-04 20:56:04 +0200
commit3ad8efe07deb3ec27a205815dc9097c20c728e9b (patch)
treed2d699b7173505ef6ce317cd0856fa5b03e6aae1 /system/libraries/Log.php
parent1ea127ae8a8026af7679526af06ff297d5104104 (diff)
added constants.php file and implemented constants for file system modes
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 f9ca85a30..1aa8bd0f4 100644
--- a/system/libraries/Log.php
+++ b/system/libraries/Log.php
@@ -109,7 +109,7 @@ class CI_Log {
flock($fp, LOCK_UN);
fclose($fp);
- @chmod($filepath, 0666);
+ @chmod($filepath, FILE_WRITE_MODE);
return TRUE;
}