Skip to content

Commit

Permalink
Fix to avoid setting up the DNS feature if it is disabled globally
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jul 24, 2024
1 parent ef8d648 commit 7decdfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtual-server-lib-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -20440,7 +20440,7 @@ sub setup_virtualmin_default_hostname_ssl
# Set initial features
$dom{'dir'} = 1;
$dom{'unix'} = 1;
$dom{'dns'} = 1;
$dom{'dns'} = $config{'dns'};
$dom{'mail'} = 0;
my $webf = &domain_has_website();
my $sslf = &domain_has_ssl();
Expand Down

0 comments on commit 7decdfd

Please sign in to comment.