Skip to content
Snippets Groups Projects
Commit 8c8e9bec authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #4250 Enabling firewall does not link plugin.

parent 31d46a24
No related branches found
No related tags found
No related merge requests found
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment