0001047
This commit is contained in:
parent
141416047d
commit
03e75ddb26
@ -356,12 +356,7 @@ if ($_REQUEST['act'] == 'edit') {
|
|||||||
krsort($link);
|
krsort($link);
|
||||||
$link = array_combine($key_array, $link);
|
$link = array_combine($key_array, $link);
|
||||||
|
|
||||||
|
sys_msg('更新成功', 0, $link);
|
||||||
if ($cf_iden > 0) {
|
|
||||||
sys_msg('更新成功', 0, $link);
|
|
||||||
} else {
|
|
||||||
sys_msg('更新成功,但網域自動修改失敗,請手動至CF操作', 1, array(), false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------ */
|
/*------------------------------------------------------ */
|
||||||
|
@ -138,7 +138,6 @@ class cloudflare
|
|||||||
$t_result = curl_exec($ch);
|
$t_result = curl_exec($ch);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
$result=json_decode($t_result,true);
|
$result=json_decode($t_result,true);
|
||||||
print_r($result);
|
|
||||||
foreach($result['result'] as $key=>$val){
|
foreach($result['result'] as $key=>$val){
|
||||||
if($val['name']==$name.'.'.$this->domain){
|
if($val['name']==$name.'.'.$this->domain){
|
||||||
$id=$val['id'];
|
$id=$val['id'];
|
||||||
|
Loading…
Reference in New Issue
Block a user