else if($step==10){ $adminID = $cuserLogin->getUserID(); $mkcachefile = DEDEDATA."/mkall_cache_{$adminID}.php"; @unlink($mkcachefile); OptimizeData($dsql); ShowMsg("完成所有文件的更新!","javascript:;"); exit();}//make step
else if($step==10) { include_once(DEDEINC."/arc.sgpage.class.php"); $dsql->Execute("ex","SELECT aid FROM `h_sgpage` "); $i = 0; while($row = $dsql->GetArray("ex")) { $sg = new sgpage($row['aid']); $sg->SaveToHtml(); $i++; } $adminID = $cuserLogin->getUserID(); $mkcachefile = DEDEDATA."/mkall_cache_{$adminID}.php"; @unlink($mkcachefile); OptimizeData($dsql); ShowMsg("已更新$i个页面,并完成所有文件的更新!","javascript:;"); exit(); }//make step
如果本文对你有帮助,欢迎打赏本站