1, 'repo' => $cfg['repo'], 'mirrors' => $cfg['mirrors'], 'has_token' => $cfg['github_token']!=='' ? 1 : 0, ]); return; } if($egn=='upcheck') { include_once("../MPHX/BL.php"); include_once("../MPHX/github_updater.php"); include("../cf_up.php"); // 纯数据载荷,前端直接取字段(与 egn=mnbt 的风格一致) exit(json_encode(mnbt_updater_check(!empty($_POST['force']), 60), JSON_UNESCAPED_UNICODE)); return; } return;