mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
*Call v-delete-letsencrypt-domain not v-add-letsencrypt-domain
This commit is contained in:
parent
8ef2f19a5e
commit
8624b00ad1
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ if (!empty($_POST['save'])) {
|
||||||
// Disable Lets Encrypt support
|
// Disable Lets Encrypt support
|
||||||
|
|
||||||
if (( $v_letsencrypt == 'yes' ) && (empty($_POST['v_letsencrypt'])) && (!empty($_POST['v_letsencrypt'])) && (empty($_SESSION['error_msg']))) {
|
if (( $v_letsencrypt == 'yes' ) && (empty($_POST['v_letsencrypt'])) && (!empty($_POST['v_letsencrypt'])) && (empty($_SESSION['error_msg']))) {
|
||||||
exec (VESTA_CMD."v-add-letsencrypt-domain ".$user." ".$v_domain." '' 'no'", $output, $return_var);
|
exec (VESTA_CMD."v-delete-letsencrypt-domain ".$user." ".$v_domain." '' 'no'", $output, $return_var);
|
||||||
check_return_code($return_var,$output);
|
check_return_code($return_var,$output);
|
||||||
unset($output);
|
unset($output);
|
||||||
$v_letsencrypt = 'no';
|
$v_letsencrypt = 'no';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue