summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers/Cache_file.php
diff options
context:
space:
mode:
authortianhe1986 <w1s2j3229@163.com>2016-08-11 14:13:06 +0200
committertianhe1986 <w1s2j3229@163.com>2016-08-11 14:13:06 +0200
commitae31a918a3c0eff331f3ae2f03afca25158e93ff (patch)
tree20f7e1539e9f0fa912ae8313e9a9e40c719c7229 /system/libraries/Cache/drivers/Cache_file.php
parent87c50228998440b86f1ee4233ea8c6aacb0a8a3c (diff)
Using "! isset($a, $b, ……)" instead of "! isset($a) OR ! isset($b) OR ……"
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
Diffstat (limited to 'system/libraries/Cache/drivers/Cache_file.php')
-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 e5614f8bd..554f10b95 100644
--- a/system/libraries/Cache/drivers/Cache_file.php
+++ b/system/libraries/Cache/drivers/Cache_file.php
@@ -227,7 +227,7 @@ class CI_Cache_file extends CI_Driver {
{
$mtime = filemtime($this->_cache_path.$id);
- if ( ! isset($data['ttl']) OR ! isset($data['time']))
+ if ( ! isset($data['ttl'], $data['time']))
{
return FALSE;
}