Commit 8c8e9bec authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #4250 Enabling firewall does not link plugin.

parent 31d46a24
...@@ -38,7 +38,7 @@ class firewall_plugin { ...@@ -38,7 +38,7 @@ class firewall_plugin {
public function onInstall() { public function onInstall() {
global $conf; global $conf;
if($conf['bastille']['installed'] == true && $conf['services']['firewall'] == true) { if(($conf['bastille']['installed'] == true || $conf['ufw']['installed'] == true || $conf['firewall']['installed'] == true) && $conf['services']['firewall'] == true) {
return true; return true;
} else { } else {
return false; return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment