docheckfiles($dz_files,$md5data); checkfilesoutput($modifylists,$deletedfiles,$unknownfiles); htmlfooter(); } elseif($action == 'dz_mysqlclear') {//数据库清理 ob_implicit_flush(); define('IN_DISCUZ', TRUE); if(@!include("./config.inc.php")) { if(@!include("./config.php")) { htmlheader(); cexit("<h4>请先上传config文件以保证您的数据库能正常链接!</h4>"); } } require './include/db_'.$database.'.class.php'; $db = new dbstuff; $db->connect($dbhost, $dbuser, $dbpw, $dbname, $pconnect); $db->select_db($dbname); if(!get_cfg_var('register_globals')) { @extract($_GET, EXTR_SKIP); } $rpp = "1000"; //每次处理多少条数据 $totalrows = isset($totalrows) ? $totalrows : 0; $convertedrows = isset($convertedrows) ? $convertedrows : 0; $start = isset($start) && $start > 0 ? $start : 0; $sqlstart = isset($start) && $start > $convertedrows ? $start - $convertedrows : 0; $end = $start + $rpp - 1; $stay = isset($stay) ? $stay : 0; $converted = 0; $step = isset($step) ? $step : 0; $info = isset($info) ? $info : ''; $action = array(