Commit cabdbf8c authored by Franco Fichtner's avatar Franco Fichtner

src: move files back, the update system isn't ready for this

parent 5e648312
......@@ -28,7 +28,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("easyrule.inc");
require_once("filter.inc");
require_once("shaper.inc");
......@@ -43,7 +43,7 @@ foreach ($ifdisp as $kif => $kdescr) {
/* Borrow this function from guiconfig.inc since we can't include it for use at the CLI
- Maybe these need to be moved to util.inc or legacy.inc?
- Maybe these need to be moved to util.inc or pfsense-utils.inc?
*/
function pconfig_to_address(&$adr, $padr, $pmask, $pnot=false, $pbeginport=0, $pendport=0) {
......
......@@ -138,7 +138,7 @@ if(!function_exists("dom_title")) {
require_once("interfaces.inc");
require_once("gwlb.inc");
require_once("services.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("certs.inc");
require_once("system.inc");
require_once("vslb.inc");
......@@ -31,7 +31,7 @@
require_once('config.inc');
require_once('certs.inc');
require_once('legacy.inc');
require_once('pfsense-utils.inc');
require_once('auth.inc');
global $openvpn_prots;
......
......@@ -32,7 +32,7 @@ require_once("globals.inc");
require_once("xmlrpc.inc");
require_once("service-utils.inc");
require_once("xmlparse.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
if(!function_exists("update_status")) {
function update_status($status) {
......@@ -1251,7 +1251,7 @@ function stop_packages()
require_once("shaper.inc");
require_once("captiveportal.inc");
require_once("pkg-utils.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("service-utils.inc");
global $config, $g;
......
......@@ -111,7 +111,7 @@ require_once("captiveportal.inc");
echo ".";
require_once("rrd.inc");
echo ".";
require_once("legacy.inc");
require_once("pfsense-utils.inc");
echo ".";
/* get system memory amount */
......
......@@ -33,7 +33,7 @@ require_once("filter.inc");
require_once("shaper.inc");
require_once("captiveportal.inc");
require_once("pkg-utils.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("service-utils.inc");
log_error("Restarting/Starting all packages.");
......
......@@ -3,7 +3,7 @@
require_once("config.inc");
require_once("util.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
if (!is_array($config['aliases']['alias'])) {
// No aliases
......
......@@ -35,7 +35,7 @@
require_once('guiconfig.inc');
require_once('interfaces.inc');
require_once('legacy.inc');
require_once('pfsense-utils.inc');
require_once('util.inc');
$listedIPs = "";
......
<?php
/*
Copyright (C) 2014 Deciso B.V.
......@@ -73,7 +74,7 @@ if ($_POST['downloadbtn'] == gettext("Download Capture"))
$pgtitle = array(gettext("Diagnostics"), gettext("Packet Capture"));
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
$fp = "/root/";
$fn = "packetcapture.cap";
......
......@@ -28,7 +28,7 @@
*/
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
$serviceproviders_xml = "/usr/local/share/mobile-broadband-provider-info/serviceproviders.xml";
$serviceproviders_contents = file_get_contents($serviceproviders_xml);
......
......@@ -5,7 +5,7 @@ if(Connection_Aborted()) {
}
require_once("config.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
function get_stats() {
$stats['cpu'] = cpu_usage();
......
......@@ -31,7 +31,7 @@
$nocsrf = true;
require_once('guiconfig.inc');
require_once('legacy.inc');
require_once('pfsense-utils.inc');
$curcfg = $config['system']['firmware'];
......
......@@ -29,7 +29,7 @@
*/
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("script/load_phalcon.php");
/* Setup variables for upgrade procedure */
......
......@@ -32,7 +32,7 @@ $nocsrf = true;
require_once("globals.inc");
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("captiveportal.inc");
......
......@@ -30,7 +30,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("widgets/include/carp_status.inc");
......
......@@ -31,7 +31,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("widgets/include/dyn_dns_status.inc");
......
......@@ -29,7 +29,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("widgets/include/gateways.inc");
......
......@@ -32,7 +32,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("widgets/include/interfaces.inc");
......
......@@ -32,7 +32,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("widgets/include/interface_statistics.inc");
......
......@@ -34,7 +34,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("vslb.inc");
......
......@@ -32,7 +32,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("filter_log.inc");
......
......@@ -32,7 +32,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("widgets/include/ntp_status.inc");
......
......@@ -29,7 +29,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
if($_GET['getpic']=="true") {
......
......@@ -29,7 +29,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
if($_POST['rssfeed']) {
......
......@@ -28,7 +28,7 @@
*/
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
require_once("widgets/include/smart_status.inc");
......
......@@ -32,7 +32,7 @@
$nocsrf = true;
require_once("guiconfig.inc");
require_once("legacy.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
$first_time = false;
......
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