Commit 01bc13b3 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) more dependency cleanups

parent 0cf6f8ec
......@@ -37,10 +37,7 @@
*/
/* include globals from notices.inc /utility/XML parser files */
require_once("util.inc");
require_once("IPv6.inc");
require_once("xmlparse.inc");
require_once("crypt.inc");
require_once("certs.inc");
require_once("radius.inc");
......
......@@ -42,8 +42,6 @@ if(php_uname("m") == "amd64") {
require_once('config.lib.inc');
require_once("util.inc");
require_once("IPv6.inc");
require_once("xmlparse.inc");
require_once("crypt.inc");
$config = parse_config();
......
......@@ -35,6 +35,8 @@ require_once("crypt.inc");
require_once("util.inc");
require_once("notices.inc");
require_once("legacy_bindings.inc");
require_once('upgrade_config.inc');
/* make a global alias table (for faster lookups) */
function alias_make_table($config)
......@@ -121,10 +123,6 @@ function convert_config() {
// Save off config version
$prev_version = $config['version'];
include_once('auth.inc');
include_once('upgrade_config.inc');
/* Loop and run upgrade_VER_to_VER() until we're at current version */
while ($config['version'] < $g['latest_config']) {
$cur = $config['version'] * 10;
......
......@@ -31,7 +31,6 @@
require_once('certs.inc');
require_once('pfsense-utils.inc');
require_once('auth.inc');
require_once('util.inc');
global $openvpn_prots;
......
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