diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-04-04 20:56:04 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-04-04 20:56:04 +0200 |
commit | 3ad8efe07deb3ec27a205815dc9097c20c728e9b (patch) | |
tree | d2d699b7173505ef6ce317cd0856fa5b03e6aae1 /system/codeigniter/Common.php | |
parent | 1ea127ae8a8026af7679526af06ff297d5104104 (diff) |
added constants.php file and implemented constants for file system modes
Diffstat (limited to 'system/codeigniter/Common.php')
-rw-r--r-- | system/codeigniter/Common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php index d9ddf80c7..4554a712b 100644 --- a/system/codeigniter/Common.php +++ b/system/codeigniter/Common.php @@ -52,7 +52,7 @@ function is_really_writable($file) }
fclose($fp);
- @chmod($file, 0777);
+ @chmod($file, DIR_WRITE_MODE);
@unlink($file);
return TRUE;
}
|