mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
Release 0.9.8-16
This commit is contained in:
parent
e49317b9d0
commit
c59b6230a2
161 changed files with 521 additions and 159 deletions
|
@ -35,12 +35,12 @@ if (!isset($_POST['generate'])) {
|
|||
}
|
||||
|
||||
// Check input
|
||||
if (empty($_POST['v_domain'])) $errors[] = __('domain');
|
||||
if (empty($_POST['v_country'])) $errors[] = __('country');
|
||||
if (empty($_POST['v_state'])) $errors[] = __('domain');
|
||||
if (empty($_POST['v_locality'])) $errors[] = __('city');
|
||||
if (empty($_POST['v_org'])) $errors[] = __('organization');
|
||||
if (empty($_POST['v_email'])) $errors[] = __('email');
|
||||
if (empty($_POST['v_domain'])) $errors[] = __('Domain');
|
||||
if (empty($_POST['v_country'])) $errors[] = __('Country');
|
||||
if (empty($_POST['v_state'])) $errors[] = __('State');
|
||||
if (empty($_POST['v_locality'])) $errors[] = __('City');
|
||||
if (empty($_POST['v_org'])) $errors[] = __('Organization');
|
||||
if (empty($_POST['v_email'])) $errors[] = __('Email');
|
||||
$v_domain = $_POST['v_domain'];
|
||||
$v_email = $_POST['v_email'];
|
||||
$v_country = $_POST['v_country'];
|
||||
|
@ -72,7 +72,7 @@ $v_state = escapeshellarg($_POST['v_state']);
|
|||
$v_locality = escapeshellarg($_POST['v_locality']);
|
||||
$v_org = escapeshellarg($_POST['v_org']);
|
||||
|
||||
exec (VESTA_CMD."v-generate-ssl-cert ".$v_domain." ".$v_email." ".$v_country." ".$v_state." ".$v_locality." ".$v_org." IT json", $output, $return_var);
|
||||
exec (VESTA_CMD."v-generate-ssl-cert ".$v_domain." ".$v_email." ".$v_country." ".$v_state." ".$v_locality." ".$v_org." IT '' json", $output, $return_var);
|
||||
|
||||
// Revert to raw values
|
||||
$v_domain = $_POST['v_domain'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue