#202 | if (file_exists($html_cache_file_path)) { |
#203 | if(empty($html_cache_file_times)){ //永久有效 |
#204 | readfile($html_cache_file_path); |
#205 | exit(); |
#206 | }else{ |
#207 | if( $_ENV['_time'] - filemtime($html_cache_file_path) < $html_cache_file_times ){ //有效期内 |
#208 | readfile($html_cache_file_path); |
#209 | exit(); |
#210 | }else{ |
#211 | unlink($html_cache_file_path); //已过期,则删除文件 |