summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-02-16 10:33:24 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-02-16 10:33:24 +0100
commitb8b520212559316ee9f9977ba3b1e7f1f945d27f (patch)
tree1712c695786c2e743063ded27c01751cd35f1093 /system/libraries/Cache
parent7afc7198a4674c2d306411f91b5d188dccdf1def (diff)
parent6e09f238acfa8f3d1180ff3f640c65aeffbc4379 (diff)
Merge pull request #1046 from YorickPeterse/develop
Lowered the file permissions for file caches.
Diffstat (limited to 'system/libraries/Cache')
-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;
}