making the firewall on-by-default

This commit is contained in:
Xkeeper
2015-08-09 00:43:46 -07:00
parent dce5ec9ce6
commit 727782410f

View File

@@ -34,7 +34,7 @@
$sql->selectdb($dbname) or die("Another stupid MySQL error happened, panic<br><small>". mysql_error() ."</small>"); $sql->selectdb($dbname) or die("Another stupid MySQL error happened, panic<br><small>". mysql_error() ."</small>");
if (file_exists("lib/firewall.php") && filter_int($config_firewall)) { if (file_exists("lib/firewall.php") && !filter_int($disable_firewall)) {
trigger_error("Loading firewall", E_USER_NOTICE); trigger_error("Loading firewall", E_USER_NOTICE);
require 'lib/firewall.php'; require 'lib/firewall.php';
} }