|
|
@@ -398,19 +398,6 @@ class cwp7_Admin {
|
|
|
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
|
|
|
curl_setopt($ch, CURLOPT_POST, 1);
|
|
|
$response = curl_exec($ch);
|
|
|
- if(curl_getinfo($ch, CURLINFO_RESPONSE_CODE) != 200) {
|
|
|
- curl_close($ch);
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'cwp7',
|
|
|
- __FUNCTION__,
|
|
|
- $data,
|
|
|
- 'debug addDomain',
|
|
|
- $response
|
|
|
- );
|
|
|
-
|
|
|
- return array('status' => 'Error', 'err_msg' => $response['msj'] ? $response['msj'] : curl_error($ch));
|
|
|
- };
|
|
|
curl_close($ch);
|
|
|
return json_decode($response, true);
|
|
|
}
|