Take care of more int casts.

This commit is contained in:
euromark 2014-09-10 16:29:23 +02:00
parent e77f96d8b7
commit 04ef39217f
15 changed files with 27 additions and 27 deletions

View file

@ -165,7 +165,7 @@ class FileEngine extends CacheEngine {
$this->_File->rewind();
$time = time();
$cachetime = intval($this->_File->current());
$cachetime = (int)$this->_File->current();
if ($cachetime !== false && ($cachetime < $time || ($time + $this->settings['duration']) < $cachetime)) {
if ($this->settings['lock']) {