mirror of
https://github.com/webmin/webmin.git
synced 2026-08-14 11:30:35 +01:00
Fix to use a new sub to test default cert
This commit is contained in:
@@ -35,7 +35,7 @@ print "Set-Cookie: testing=1; path=/$sec\r\n";
|
||||
undef, "onLoad='document.forms[0].answer.focus()'");
|
||||
|
||||
print "<center>\n";
|
||||
if ($miniserv::defcert) {
|
||||
if (&miniserv_using_default_cert()) {
|
||||
print "<h3>",&text('defcert_error',
|
||||
ucfirst(&get_product_name()), $miniserv{'keyfile'}),"</h3><p></p>\n";
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ if ($tconfig{'inframe'}) {
|
||||
}
|
||||
|
||||
print "<center>\n";
|
||||
if ($miniserv::defcert) {
|
||||
if (&miniserv_using_default_cert()) {
|
||||
print "<h3>",&text('defcert_error',
|
||||
ucfirst(&get_product_name()), $miniserv{'keyfile'}),"</h3><p></p>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user