mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 08:40:21 -07:00
Making firewall enable config-based
This commit is contained in:
parent
c8f81d7d20
commit
65554021b3
@ -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';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user