Commit 5f0ffe13 authored by Taylor Otwell's avatar Taylor Otwell

Add comment to cache file driver.

parent 7e28433a
......@@ -29,6 +29,8 @@ class File implements Driver {
$cache = file_get_contents(CACHE_PATH.$key);
// The cache expiration date is stored as a UNIX timestamp at the beginning
// of the cache file. We'll extract it out and check it here.
if (time() >= substr($cache, 0, 10))
{
$this->forget($key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment