WEB_DOMAIN syntax error fixed

This commit is contained in:
Malishev Dmitry 2011-09-05 19:09:15 +03:00
parent 809d0a22c6
commit 0b9711d7c9

View file

@ -134,19 +134,20 @@ class WEB_DOMAIN extends AjaxHandler
'SSL_CERT' => $_s['SSL_CERT'] 'SSL_CERT' => $_s['SSL_CERT']
); );
if ($_s['SSL_HOME']) { if ($_s['SSL_HOME']) {
$params['SSL_HOME'] = $_s['SSL_HOME']; $params['SSL_HOME'] = $_s['SSL_HOME'];
} }
if ($_s['SSL_TEXT']) { if ($_s['SSL_TEXT']) {
// TODO: implement // TODO: implement
} }
$result = 0; $result = 0;
$result = Vesta::execute(Vesta::V_ADD_WEB_DOMAIN_SSL, $params); $result = Vesta::execute(Vesta::V_ADD_WEB_DOMAIN_SSL, $params);
if (!$result['status']) { if (!$result['status']) {
$this->errors['SSL'] = array($result['error_code'] => $result['error_message']); $this->errors['SSL'] = array($result['error_code'] => $result['error_message']);
}
} }
} }
@ -164,7 +165,7 @@ class WEB_DOMAIN extends AjaxHandler
$result = $dns->addExecute($params); $result = $dns->addExecute($params);
if (!$result['status']) { if (!$result['status']) {
$this->errors['DNS_DOMAIN'] = array($result['error_code'] => $result['error_message']); $this->errors['DNS_DOMAIN'] = array($result['error_code'] => $result['error_message']);
} }
} }
/* /*