Update firewallEnabled() config check

This commit is contained in:
billz
2025-03-18 03:22:03 -07:00
parent 5ce06c6214
commit ab77af9e5d

View File

@@ -284,7 +284,7 @@ class Dashboard {
if (file_exists($this->firewallConfig) ) {
$conf = parse_ini_file($this->firewallConfig);
}
if ( isset($conf["firewall-enable"]) ) {
if ($conf["firewall-enable"] == 1) {
return true;
}
return false;