mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-08-25 01:13:48 -07:00
making the firewall on-by-default
This commit is contained in:
@@ -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';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user