public function get($key)
{
$file_cache = CACHE . '/' . md5($key) . '.txt';
if (file_exists($file_cache)) {
$content = unserialize( file_get_contents($file_cache));
if (time() <= $content['end_time']) {
return $content['data'];
}
unlink($file_cache);
}
return false;
}