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

Update firewall_plugin.inc.php

parent 9cc67e29
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class firewall_plugin {
public function onInstall() {
global $conf;
if((isset($conf['bastille']['installed']) && $conf['bastille']['installed'] == true || isset($conf['ufw']['installed']) && $conf['ufw']['installed'] == true || isset($conf['firewall']['installed']) && $conf['firewall']['installed'] == true || isset($conf['services']['firewall']) && $conf['services']['firewall'] == true)) {
if((isset($conf['bastille']['installed']) && $conf['bastille']['installed'] == true) || (isset($conf['ufw']['installed']) && $conf['ufw']['installed'] == true) || (isset($conf['firewall']['installed']) && $conf['firewall']['installed'] == true) || (isset($conf['services']['firewall']) && $conf['services']['firewall'] == true)) {
return true;
} else {
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