summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-08-31 16:52:27 +0200
committerAndrey Andreev <narf@devilix.net>2015-08-31 16:52:27 +0200
commit4dac6ebaf363c60b2c1413db11f0dcd862177fa1 (patch)
treefb5dee4e147ac196caa17226de25475bbcdfb679 /system/libraries/Cache
parent348a2d445b9d059aab4f5113a380f05eb2cd92d9 (diff)
[ci skip] Fix #4091
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 68bc1ec96..c046f3b7d 100644
--- a/system/libraries/Cache/drivers/Cache_file.php
+++ b/system/libraries/Cache/drivers/Cache_file.php
@@ -267,7 +267,7 @@ class CI_Cache_file extends CI_Driver {
*/
protected function _get($id)
{
- if ( ! file_exists($this->_cache_path.$id))
+ if ( ! is_file($this->_cache_path.$id))
{
return FALSE;
}