Commit d51831b3 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix PHP Fatal error: Call to undefined function...

(legacy) fix PHP Fatal error:  Call to undefined function create_gateway_quality_rrd() in /usr/local/etc/inc/gwlb.inc on line 330

setup_gateways_monitor needs rrd.inc
parent fc7f8d14
...@@ -196,6 +196,7 @@ function filter_configure_xmlrpc() ...@@ -196,6 +196,7 @@ function filter_configure_xmlrpc()
require_once("vslb.inc"); require_once("vslb.inc");
require_once("openvpn.inc"); require_once("openvpn.inc");
require_once("services.inc"); require_once("services.inc");
require_once("rrd.inc");
filter_configure(); filter_configure();
system_routing_configure(); system_routing_configure();
......
...@@ -42,6 +42,7 @@ require_once("vslb.inc"); ...@@ -42,6 +42,7 @@ require_once("vslb.inc");
require_once("system.inc"); require_once("system.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("services.inc"); require_once("services.inc");
require_once("rrd.inc");
system_routing_configure(); system_routing_configure();
setup_gateways_monitor(); setup_gateways_monitor();
......
...@@ -32,6 +32,7 @@ require_once("interfaces.inc"); ...@@ -32,6 +32,7 @@ require_once("interfaces.inc");
require_once("openvpn.inc"); require_once("openvpn.inc");
require_once("system.inc"); require_once("system.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("rrd.inc");
// Resync and restart all VPNs using a gateway group. // Resync and restart all VPNs using a gateway group.
function openvpn_resync_gwgroup($gwgroupname = "") { function openvpn_resync_gwgroup($gwgroupname = "") {
......
...@@ -33,6 +33,7 @@ require_once("filter.inc"); ...@@ -33,6 +33,7 @@ require_once("filter.inc");
require_once("services.inc"); require_once("services.inc");
require_once("system.inc"); require_once("system.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("rrd.inc");
$a_gateways = return_gateways_array(true, false, true); $a_gateways = return_gateways_array(true, false, true);
$a_gateways_arr = array(); $a_gateways_arr = array();
......
...@@ -32,6 +32,7 @@ require_once("interfaces.inc"); ...@@ -32,6 +32,7 @@ require_once("interfaces.inc");
require_once("filter.inc"); require_once("filter.inc");
require_once("system.inc"); require_once("system.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("rrd.inc");
if (!is_array($config['staticroutes'])) { if (!is_array($config['staticroutes'])) {
$config['staticroutes'] = array(); $config['staticroutes'] = array();
......
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