output error message when letsencrypt is checked and wildcard-serveralias in enabled - not just silently disable letsencrypt, people don't read the description and are confused
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -585,8 +585,8 @@ if ($page == 'domains'
|
||||
}
|
||||
|
||||
// We can't enable let's encrypt for wildcard - domains
|
||||
if ($serveraliasoption == '0') {
|
||||
$letsencrypt = 0;
|
||||
if ($serveraliasoption == '0' && $letsencrypt == '1') {
|
||||
standard_error('nowildcardwithletsencrypt');
|
||||
}
|
||||
|
||||
if (!preg_match('/^https?\:\/\//', $documentroot)) {
|
||||
@@ -1372,8 +1372,8 @@ if ($page == 'domains'
|
||||
}
|
||||
|
||||
// We can't enable let's encrypt for wildcard domains
|
||||
if ($serveraliasoption == '0') {
|
||||
$letsencrypt = '0';
|
||||
if ($serveraliasoption == '0' && $letsencrypt == '1') {
|
||||
standard_error('nowildcardwithletsencrypt');
|
||||
}
|
||||
|
||||
if (!preg_match('/^https?\:\/\//', $documentroot)) {
|
||||
|
||||
Reference in New Issue
Block a user