mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
WEB_DOMAIN syntax error fixed
This commit is contained in:
parent
809d0a22c6
commit
0b9711d7c9
1 changed files with 12 additions and 11 deletions
|
@ -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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue