<?php
function checktplrefresh($full_tpl_file_path, $full_cache_file_path, $timecompare, $tplrefresh=0) {
if(isset($timecompare) && $tplrefresh = 1) {
if(isset($timecompare) || filemtime($subtpl) > $timecompare) {
$this->parse_template($maintpl, 0, $tpldir, $file, $cachefile);
unset($maintpl, $subtpl, $timecompare, $cachefile, $tpldir, $file);
return TRUE;
}
}
return FALSE;
}
preferences:
58.58 ms | 402 KiB | 5 Q