This commit is contained in:
Wayne 2024-03-13 11:20:24 +08:00
parent 141416047d
commit 03e75ddb26
2 changed files with 1 additions and 7 deletions

View File

@ -356,12 +356,7 @@ if ($_REQUEST['act'] == 'edit') {
krsort($link);
$link = array_combine($key_array, $link);
if ($cf_iden > 0) {
sys_msg('更新成功', 0, $link);
} else {
sys_msg('更新成功,但網域自動修改失敗,請手動至CF操作', 1, array(), false);
}
sys_msg('更新成功', 0, $link);
}
/*------------------------------------------------------ */

View File

@ -138,7 +138,6 @@ class cloudflare
$t_result = curl_exec($ch);
curl_close($ch);
$result=json_decode($t_result,true);
print_r($result);
foreach($result['result'] as $key=>$val){
if($val['name']==$name.'.'.$this->domain){
$id=$val['id'];