We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0bade commit 5d705daCopy full SHA for 5d705da
web/edit/web/index.php
@@ -274,6 +274,17 @@
274
$restart_web = 'yes';
275
$restart_proxy = 'yes';
276
}
277
+ else{
278
+ // Delete SSL certificate
279
+ if (( $v_ssl == 'yes' ) && (empty($_POST['v_ssl'])) && (empty($_SESSION['error_msg']))) {
280
+ exec (VESTA_CMD."v-delete-web-domain-ssl ".$v_username." ".$v_domain." 'no'", $output, $return_var);
281
+ check_return_code($return_var,$output);
282
+ unset($output);
283
+ $v_ssl = 'no';
284
+ $restart_web = 'yes';
285
+ $restart_proxy = 'yes';
286
+ }
287
288
289
// Enable Lets Encrypt support
290
if (( $v_letsencrypt == 'no' || empty( $v_letsencrypt)) && (!empty($_POST['v_letsencrypt'])) && empty($_SESSION['error_msg'])) {
0 commit comments