Commit 0e03967c authored by Franco Fichtner's avatar Franco Fichtner

www: strip plugins.inc from frontend

parent 1d4ca0ff
......@@ -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
......
......@@ -32,7 +32,6 @@ require_once("openvpn.inc");
require_once("services.inc");
require_once("filter.inc");
require_once("interfaces.inc");
require_once("plugins.inc");
require_once("openvpn-client-export.inc");
global $current_openvpn_version, $current_openvpn_version_rev;
......
......@@ -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