summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-17 01:33:43 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-17 01:33:43 +0200
commit0159ae7d492cccca7a30a2f5b5c2b107d399e7ea (patch)
treef2c94b5ca24e4ad52c1ba34efcdef1f2f48185fc
parent88c47278f775413b5a408f48d30bd279e34e601a (diff)
AND -> &&
-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 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;