$htmlfilestr = "./caches/area/".session('sys_areainfo')['etitle'].".html";
$dir = "./caches/area/";
if(!is_dir($dir)){
mkdir($dir, 0777, true);
}
$filename = session('sys_areainfo')['etitle'];
}
if (file_exists($htmlfilestr)) {
if ((date('d',filemtime($htmlfilestr)) != date('d', time())) && (config('sys.indexhtml_time') < date('H:i:s',time()))) {
unlink($htmlfilestr);
}else{
return $this->fetch($htmlfilestr); exit();
}
}
$tpl_file = './template/'.config('sys.theme_style').'/index/';
$info = $this->buildHtml($filename, $dir, $tpl_file.'index_index.html');
}
return $this->fetch();
}
BannerModelObject | [] |
where | { "is_status": 1 } |
list | { "A": [], "B": [], "C": [], "D": [], "E": [], "F": [], "G": [], "H": [], "I": [], "J": [], "K": [], "L": [], "M": [], "N": [], "O": [], "P": [], "Q": [], "R": [], "S": [], "T": [], "U": [], "V": [], "W": [], "X": [], "Y": [], "Z": [] } |
htmlfilestr | ./index.html |
dir | ./ |
filename | index |