|
@@ -1078,7 +1078,7 @@ class ProjectController extends BaseController |
|
@@ -1078,7 +1078,7 @@ class ProjectController extends BaseController |
|
1078
|
$domainModel = new DomainInfoModel();
|
1078
|
$domainModel = new DomainInfoModel();
|
|
1079
|
$domainInfo = $domainModel->read(['project_id'=>$this->param['project_id']]);
|
1079
|
$domainInfo = $domainModel->read(['project_id'=>$this->param['project_id']]);
|
|
1080
|
if($domainInfo !== false){
|
1080
|
if($domainInfo !== false){
|
|
1081
|
- http_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website/');
|
1081
|
+ curl_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website/');
|
|
1082
|
}
|
1082
|
}
|
|
1083
|
$this->response('success');
|
1083
|
$this->response('success');
|
|
1084
|
}
|
1084
|
}
|