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/libraries/Output.php b/system/libraries/Output.php index a4d8d34..07990eb 100644 --- a/system/libraries/Output.php +++ b/system/libraries/Output.php
@@ -308,7 +308,7 @@ fwrite($fp, $expire.'TS--->'.$output); flock($fp, LOCK_UN); fclose($fp); - @chmod($cache_path, 0777); + @chmod($cache_path, DIR_WRITE_MODE); log_message('debug', "Cache file written: ".$cache_path); }