Commit bbf9655a authored by Franco Fichtner's avatar Franco Fichtner

src: strip pugins.inc from files, automatically included

(cherry picked from commit 1d4ca0ff)
(cherry picked from commit 0e03967c)
parent 049d621d
......@@ -30,7 +30,6 @@
require_once("services.inc");
require_once("system.inc");
require_once('plugins.inc');
require_once("vslb.inc");
require_once('util.inc');
require_once("unbound.inc");
......
......@@ -53,8 +53,6 @@ require_once("vslb.inc");
echo ".";
require_once("filter.inc");
echo ".";
require_once("plugins.inc");
echo ".";
require_once("ipsec.inc");
echo ".";
require_once("openvpn.inc");
......
......@@ -34,6 +34,5 @@ require_once("ipsec.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("services.inc");
require_once("plugins.inc");
filter_configure_sync();
......@@ -39,7 +39,6 @@ require_once("system.inc");
require_once("interfaces.inc");
require_once("services.inc");
require_once("unbound.inc");
require_once("plugins.inc");
// Do not process while booting
if (file_exists('/var/run/booting')) {
......
......@@ -38,7 +38,6 @@ require_once("services.inc");
require_once("rrd.inc");
require_once("util.inc");
require_once("system.inc");
require_once("plugins.inc");
require_once("interfaces.inc");
/* Interface IP address has changed */
......
......@@ -37,7 +37,6 @@ require_once("system.inc");
require_once("services.inc");
require_once("unbound.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
global $config;
......
......@@ -31,7 +31,6 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once("plugins.inc");
/**
* search config for phase 1 description
......
......@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
$service_hook = 'ipsec';
......
......@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
$service_hook = 'ipsec';
......
......@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
$service_hook = 'ipsec';
......
......@@ -35,7 +35,6 @@ require_once("filter.inc");
require_once("filter_log.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
/********************************************************************************************************************
* imported from easyrule.inc/php
......
......@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once("filter_log.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
$filter_logfile = '/var/log/filter.log';
......
......@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once("filter_log.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
$filter_logfile = '/var/log/filter.log';
$lines = 5000; // Maximum number of log entries to fetch
......
......@@ -34,7 +34,6 @@ require_once("interfaces.inc");
require_once("filter.inc");
require_once("system.inc");
require_once("services.inc");
require_once("plugins.inc");
function clear_all_log_files()
{
......
......@@ -32,7 +32,6 @@
require_once("guiconfig.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
require_once("services.inc");
/* expects $logfile to point to the system path */
......
......@@ -30,7 +30,6 @@
require_once("guiconfig.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
if (!isset($config['ifgroups']['ifgroupentry'])) {
$a_ifgroups = array();
......@@ -38,7 +37,6 @@ if (!isset($config['ifgroups']['ifgroupentry'])) {
$a_ifgroups = &$config['ifgroups']['ifgroupentry'];
}
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($a_ifgroups[$_POST['id']])) {
$id = $_POST['id'];
......
......@@ -30,7 +30,6 @@
require_once("guiconfig.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
if (!isset($config['ifgroups']) || !is_array($config['ifgroups'])) {
$config['ifgroups'] = array();
......
......@@ -32,7 +32,6 @@
require_once("guiconfig.inc");
require_once("openvpn.inc");
require_once("services.inc");
require_once("plugins.inc");
require_once("interfaces.inc");
function kill_client($port, $remipp)
......
......@@ -30,7 +30,6 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once('plugins.inc');
require_once("vslb.inc");
require_once("system.inc");
require_once("unbound.inc");
......
......@@ -33,7 +33,6 @@ require_once("filter.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
/*
* Return phase2 idinfo in text format
......
......@@ -32,7 +32,6 @@ require_once("ipsec.inc");
require_once("filter.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
if (!isset($config['ipsec']) || !is_array($config['ipsec'])) {
$config['ipsec'] = array();
......
......@@ -31,7 +31,6 @@ require_once("interfaces.inc");
require_once("guiconfig.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("plugins.inc");
if (!isset($config['ipsec']) || !is_array($config['ipsec'])) {
$config['ipsec'] = array();
......
......@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once("filter.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("plugins.inc");
if (!isset($config['ipsec']) || !is_array($config['ipsec'])) {
$config['ipsec'] = array();
......
......@@ -34,7 +34,6 @@ require_once("filter.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
/*
* ikeid management functions
......
......@@ -32,7 +32,6 @@ require_once("guiconfig.inc");
require_once("interfaces.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("plugins.inc");
/**
* combine ealgos and keylen_* tags
......
......@@ -32,7 +32,6 @@ require_once("filter.inc");
require_once("ipsec.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
if (!isset($config['ipsec']) || !is_array($config['ipsec'])) {
$config['ipsec'] = array();
......
......@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once("openvpn.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
if (!isset($config['openvpn']['openvpn-client'])) {
$config['openvpn']['openvpn-client'] = array();
......
......@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once("openvpn.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
// define all fields used in this form
$all_form_fields = "custom_options,disable,common_name,block,description
......
......@@ -34,7 +34,6 @@ require_once("openvpn.inc");
require_once("services.inc");
require_once("filter.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
function openvpn_client_export_prefix($srvid, $usrid = null, $crtid = null)
{
......
......@@ -31,7 +31,6 @@ require_once("guiconfig.inc");
require_once("openvpn.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
if (!isset($config['openvpn']['openvpn-server'])) {
$config['openvpn']['openvpn-server'] = array();
......
......@@ -32,7 +32,6 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once("system.inc");
require_once('plugins.inc');
require_once("ipsec.inc");
require_once("interfaces.inc");
......
......@@ -33,7 +33,6 @@ require_once("filter.inc");
require_once("rrd.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
/*
* find_ip_interface($ip): return the interface where an ip is defined
......
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