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']
|
||||
);
|
||||
|
||||
if ($_s['SSL_HOME']) {
|
||||
$params['SSL_HOME'] = $_s['SSL_HOME'];
|
||||
}
|
||||
if ($_s['SSL_HOME']) {
|
||||
$params['SSL_HOME'] = $_s['SSL_HOME'];
|
||||
}
|
||||
|
||||
if ($_s['SSL_TEXT']) {
|
||||
// TODO: implement
|
||||
}
|
||||
if ($_s['SSL_TEXT']) {
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
$result = 0;
|
||||
$result = Vesta::execute(Vesta::V_ADD_WEB_DOMAIN_SSL, $params);
|
||||
$result = 0;
|
||||
$result = Vesta::execute(Vesta::V_ADD_WEB_DOMAIN_SSL, $params);
|
||||
|
||||
if (!$result['status']) {
|
||||
$this->errors['SSL'] = array($result['error_code'] => $result['error_message']);
|
||||
if (!$result['status']) {
|
||||
$this->errors['SSL'] = array($result['error_code'] => $result['error_message']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue