Skip to content

Commit 8c8e9be

Browse files
author
Till Brehm
committed
Fixed #4250 Enabling firewall does not link plugin.
1 parent 31d46a2 commit 8c8e9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/firewall_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class firewall_plugin {
3838
public function onInstall() {
3939
global $conf;
4040

41-
if($conf['bastille']['installed'] == true && $conf['services']['firewall'] == true) {
41+
if(($conf['bastille']['installed'] == true || $conf['ufw']['installed'] == true || $conf['firewall']['installed'] == true) && $conf['services']['firewall'] == true) {
4242
return true;
4343
} else {
4444
return false;

0 commit comments

Comments
 (0)