Fix some DB_cache-related issues
http://codeigniter.com/forums/viewthread/229610/
diff --git a/system/database/DB_cache.php b/system/database/DB_cache.php
index 1be80c5..db76364 100644
--- a/system/database/DB_cache.php
+++ b/system/database/DB_cache.php
@@ -122,7 +122,7 @@
$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;
}