commit | 3ad8efe07deb3ec27a205815dc9097c20c728e9b | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Fri Apr 04 18:56:04 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Fri Apr 04 18:56:04 2008 +0000 |
tree | d2d699b7173505ef6ce317cd0856fa5b03e6aae1 | |
parent | 1ea127ae8a8026af7679526af06ff297d5104104 [diff] [blame] |
added constants.php file and implemented constants for file system modes
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php index d9ddf80..4554a71 100644 --- a/system/codeigniter/Common.php +++ b/system/codeigniter/Common.php
@@ -52,7 +52,7 @@ } fclose($fp); - @chmod($file, 0777); + @chmod($file, DIR_WRITE_MODE); @unlink($file); return TRUE; }