no longer show NameVirtualHost option for apache 2.4

This commit is contained in:
Daniel Reichelt
2016-09-24 21:58:20 +02:00
parent 9799e05ce4
commit 02797d9abc
3 changed files with 3 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ if ($page == 'ipsandports'
$websrv = Settings::Get('system.webserver');
$is_nginx = ($websrv == 'nginx');
$is_apache = ($websrv == 'apache2');
$is_apache24 = $is_apache && (Settings::Get('system.apache24') === '1');
if ($action == '') {