示例#1
0
function fmt($f)
{
    $f2 = fmkt($f);
    if ($f2 == 2000000000) {
        null;
    } else {
        $f2++;
    }
    if (Touch($f, $f2)) {
        return $f2;
    } else {
        Db("touch:{$f}", null, '1');
    }
}
示例#2
0
文件: fun.php 项目: Ben749/racetrack
function RGX($file, $xp = '')
{
    GT('l' . __LINE__);
    $c = FGC($file);
    if (fmkt($file) > now - 600000) {
        return $c;
    }
    $c = stripcont($c, $xp);
    FPC($file, $c);
    GT('l' . __LINE__);
    return $c;
}