diff --git a/back/homestay.php b/back/homestay.php index af218ab..59ac7ed 100755 --- a/back/homestay.php +++ b/back/homestay.php @@ -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); } /*------------------------------------------------------ */ diff --git a/back/includes/cls_cloudflare.php b/back/includes/cls_cloudflare.php index 1f0f677..d705203 100755 --- a/back/includes/cls_cloudflare.php +++ b/back/includes/cls_cloudflare.php @@ -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'];