summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2012-02-15 18:23:08 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2012-02-15 18:23:08 +0100
commit6e09f238acfa8f3d1180ff3f640c65aeffbc4379 (patch)
tree022d992dfd0ac96bc43443c8f0128cb4bc6ef226 /system
parente35d6943d513b4f016b763eebe8b97a9f1c902e3 (diff)
Lowered the file permissions for file caches.
See #1045 for more information. Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Cache/drivers/Cache_file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_file.php b/system/libraries/Cache/drivers/Cache_file.php
index 4a81b0422..a960730d7 100644
--- a/system/libraries/Cache/drivers/Cache_file.php
+++ b/system/libraries/Cache/drivers/Cache_file.php
@@ -99,7 +99,7 @@ class CI_Cache_file extends CI_Driver {
if (write_file($this->_cache_path.$id, serialize($contents)))
{
- @chmod($this->_cache_path.$id, 0777);
+ @chmod($this->_cache_path.$id, 0660);
return TRUE;
}