mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
Fix SSL option setting
This commit is contained in:
@ -18,7 +18,12 @@ print &ui_table_row($text{'net_protocols'},
|
||||
# SSL supported?
|
||||
$sslopt = &find("ssl_disable", $conf, 2) ? "ssl_disable" : "ssl";
|
||||
$dis = &find_value($sslopt, $conf);
|
||||
@opts = ( [ "no", $text{'yes'} ], [ "yes", $text{'no'} ] );
|
||||
if ($sslopt eq "ssl") {
|
||||
@opts = ( [ "yes", $text{'yes'} ], [ "no", $text{'no'} ] );
|
||||
}
|
||||
else {
|
||||
@opts = ( [ "no", $text{'yes'} ], [ "yes", $text{'no'} ] );
|
||||
}
|
||||
print &ui_table_row($text{'net_ssl_disable'},
|
||||
&ui_radio($sslopt, $dis,
|
||||
[ @opts,
|
||||
|
Reference in New Issue
Block a user