Commit 3a4cfb81 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) more require cleanups

parent f118e6cd
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
*/ */
require_once("led.inc"); require_once("led.inc");
require_once("util.inc");
require_once("notices.growl.class"); require_once("notices.growl.class");
require_once("notices.sasl.inc"); require_once("notices.sasl.inc");
require_once("notices.smtp.inc"); require_once("notices.smtp.inc");
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
*/ */
require_once("guiconfig.inc"); require_once("guiconfig.inc");
require_once("filter.inc");
require_once("filter_log.inc"); require_once("filter_log.inc");
/******************************************************************************************************************** /********************************************************************************************************************
...@@ -496,7 +497,6 @@ if (isset($_POST['resolve'])) { ...@@ -496,7 +497,6 @@ if (isset($_POST['resolve'])) {
} }
if (isset($_POST['easyrule'])) { if (isset($_POST['easyrule'])) {
require_once("filter.inc");
$response = array("status"=>"unknown") ; $response = array("status"=>"unknown") ;
switch ($_POST['easyrule']) { switch ($_POST['easyrule']) {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
$pgtitle = gettext("Status").": ".gettext("System logs").": ".gettext("Firewall Log Summary"); $pgtitle = gettext("Status").": ".gettext("System logs").": ".gettext("Firewall Log Summary");
$shortcut_section = "firewall"; $shortcut_section = "firewall";
require_once("guiconfig.inc"); require_once("guiconfig.inc");
include_once("filter_log.inc"); require_once("filter_log.inc");
$filter_logfile = '/var/log/filter.log'; $filter_logfile = '/var/log/filter.log';
$lines = 5000; $lines = 5000;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment