mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-08-03 21:51:59 -07:00
Making firewall enable config-based
This commit is contained in:
@@ -29,7 +29,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")) {
|
if (file_exists("lib/firewall.php") && t_i($config_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