正在显示
1 个修改的文件
包含
0 行增加
和
12 行删除
| @@ -47,17 +47,6 @@ class EmergencyRenewSite extends Command | @@ -47,17 +47,6 @@ class EmergencyRenewSite extends Command | ||
| 47 | continue; | 47 | continue; |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | - //获取站点其他域名 | ||
| 51 | - $other_domain = []; | ||
| 52 | - if (strpos($domain_info['domain'], 'www.') === 0) { | ||
| 53 | - $other_domain[] = str_replace('www', '*', $domain_info['domain']); | ||
| 54 | - | ||
| 55 | - $top_domain = str_replace('www.', '', $domain_info['domain']); | ||
| 56 | - if ($this->check_cname($top_domain, $target_server)) { | ||
| 57 | - $other_domain[] = $top_domain; | ||
| 58 | - } | ||
| 59 | - } | ||
| 60 | - | ||
| 61 | //创建目标服务器建站任务 | 50 | //创建目标服务器建站任务 |
| 62 | $map_create = [ | 51 | $map_create = [ |
| 63 | 'type' => DomainCreateTask::TYPE_MAIN, | 52 | 'type' => DomainCreateTask::TYPE_MAIN, |
| @@ -68,7 +57,6 @@ class EmergencyRenewSite extends Command | @@ -68,7 +57,6 @@ class EmergencyRenewSite extends Command | ||
| 68 | ]; | 57 | ]; |
| 69 | $task_info = $create_model->read($map_create, ['id']); | 58 | $task_info = $create_model->read($map_create, ['id']); |
| 70 | if (!$task_info) { | 59 | if (!$task_info) { |
| 71 | - $other_domain && $map_create['other_domain'] = json_encode($other_domain); | ||
| 72 | $create_model->add($map_create); | 60 | $create_model->add($map_create); |
| 73 | } | 61 | } |
| 74 | 62 |
-
请 注册 或 登录 后发表评论