summaryrefslogtreecommitdiffstats
path: root/system/database/DB_cache.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-13 09:58:38 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-13 09:58:38 +0100
commit83b2b1cd75d85d78ddcae1f9716984d8acdd7ca6 (patch)
tree485e6379cbbc20e23fbab7a1cb6df4c298c6358e /system/database/DB_cache.php
parent324762bf02513d8e8595bf73086b9800061ed208 (diff)
Fix some DB_cache-related issues
http://codeigniter.com/forums/viewthread/229610/
Diffstat (limited to 'system/database/DB_cache.php')
-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 1be80c5c7..db7636450 100644
--- a/system/database/DB_cache.php
+++ b/system/database/DB_cache.php
@@ -122,7 +122,7 @@ class CI_DB_Cache {
$segment_two = ($this->CI->uri->segment(2) == FALSE) ? 'index' : $this->CI->uri->segment(2);
$filepath = $this->db->cachedir.$segment_one.'+'.$segment_two.'/'.md5($sql);
- if (FALSE === ($cachedata = file_get_contents($filepath)))
+ if (FALSE === ($cachedata = @file_get_contents($filepath)))
{
return FALSE;
}