Skip to content

Commit 22c9109

Browse files
author
Marius Burkard
committed
Merge branch 'master' into 'stable-3.1'
Master See merge request !302
2 parents b5f6a1a + d1fcdc2 commit 22c9109

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

install/install.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@
445445
swriteln('Configuring Bastille Firewall');
446446
$inst->configure_bastille_firewall();
447447
$conf['services']['firewall'] = true;
448+
$conf['bastille']['installed'] = true;
448449
}
449450

450451
//* Configure Fail2ban

interface/web/nav.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@
6969
$web_servers = $app->db->queryOneRecord("SELECT COUNT(*) as cnt FROM server WHERE web_server = 1 AND active = 1");
7070
if($web_servers['cnt'] == 0) continue;
7171
}
72-
72+
if($mt == 'vm'){
73+
$vm_servers = $app->db->queryOneRecord("SELECT COUNT(*) AS cnt FROM server WHERE vserver_server = 1 AND active = 1");
74+
if($vm_servers['cnt'] == 0) continue;
75+
}
76+
7377
include_once $mt.'/lib/module.conf.php';
7478
$language = (isset($_SESSION['s']['user']['language']))?$_SESSION['s']['user']['language']:$conf['language'];
7579
$app->load_language_file('web/'.$mt.'/lib/'.$language.'.lng');

0 commit comments

Comments
 (0)