From 5f0ffe135dcf2540f925033ddf7d786615928f81 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 2 Aug 2011 11:57:01 -0500 Subject: [PATCH] Add comment to cache file driver. --- system/cache/file.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/cache/file.php b/system/cache/file.php index 06616ea1..ec3187d1 100644 --- a/system/cache/file.php +++ b/system/cache/file.php @@ -29,6 +29,8 @@ public function get($key) $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);