Commit 73f18791 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix some crash reports, related to " PHP Fatal error: Call to...

(legacy) fix some crash reports, related to " PHP Fatal error:  Call to undefined function lookup_gateway_ip_by_name() in /usr/local/etc/inc/system.inc on line 151"

fix interfaces.inc dependency for lookup_gateway_ip_by_name in system_resolvconf_generate
parent 6f075701
......@@ -39,6 +39,7 @@ require_once("rrd.inc");
require_once("util.inc");
require_once("system.inc");
require_once("pfsense-utils.inc");
require_once("interfaces.inc");
/* Interface IP address has changed */
$argument = trim($argv[1], " \n\t");
......
......@@ -38,6 +38,7 @@ require_once("system.inc");
require_once("pfsense-utils.inc");
require_once("services.inc");
require_once("unbound.inc");
require_once("interfaces.inc");
global $config;
......
......@@ -32,5 +32,6 @@ require_once("config.inc");
require_once("system.inc");
require_once("services.inc");
require_once("pfsense-utils.inc");
require_once("interfaces.inc");
system_resolvconf_generate(true);
......@@ -36,6 +36,7 @@ require_once("vslb.inc");
require_once("system.inc");
require_once("pfsense-utils.inc");
require_once("services.inc");
require_once("interfaces.inc");
$pconfig['proxyurl'] = $config['system']['proxyurl'];
$pconfig['proxyport'] = $config['system']['proxyport'];
......
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