diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-17 01:33:43 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-17 01:33:43 +0200 |
commit | 0159ae7d492cccca7a30a2f5b5c2b107d399e7ea (patch) | |
tree | f2c94b5ca24e4ad52c1ba34efcdef1f2f48185fc /system/libraries/Cache/drivers/Cache_file.php | |
parent | 88c47278f775413b5a408f48d30bd279e34e601a (diff) |
AND -> &&
Diffstat (limited to 'system/libraries/Cache/drivers/Cache_file.php')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_file.php | 2 |
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 028875b7d..37d77c268 100644 --- a/system/libraries/Cache/drivers/Cache_file.php +++ b/system/libraries/Cache/drivers/Cache_file.php @@ -73,7 +73,7 @@ class CI_Cache_file extends CI_Driver { $data = unserialize(file_get_contents($this->_cache_path.$id)); - if ($data['ttl'] > 0 AND time() > $data['time'] + $data['ttl']) + if ($data['ttl'] > 0 && time() > $data['time'] + $data['ttl']) { unlink($this->_cache_path.$id); return FALSE; |