summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2009-10-13 16:32:48 +0200
committerDerek Jones <derek.jones@ellislab.com>2009-10-13 16:32:48 +0200
commit172e16191889558ca6f6710cf34755200d3e6334 (patch)
tree9eb0b0fdea2529533a1ee02d6d0bccbf14f8dd96 /system/database
parentc1895834c410f04419febe83d29547201bbab7d0 (diff)
numerous changes from DIR_WRITE_MODE to FILE_WRITE_MODE
chmod operations on files were using the DIR_ constant permisisons
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_cache.php b/system/database/DB_cache.php
index 8b0ad4fb4..f01bc8212 100644
--- a/system/database/DB_cache.php
+++ b/system/database/DB_cache.php
@@ -146,7 +146,7 @@ class CI_DB_Cache {
return FALSE;
}
- @chmod($dir_path.$filename, DIR_WRITE_MODE);
+ @chmod($dir_path.$filename, FILE_WRITE_MODE);
return TRUE;
}