Commit 50cadda6 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) add missing dependencies

parent 96a14b57
......@@ -48,7 +48,7 @@ include("head.inc");
<body>
<?php include("fbegin.inc"); ?>
<script type="text/javascript">
jQuery(document).ready(function() {setTimeout('getpfinfo()', 5000);});
jQuery(document).ready(function() {setTimeout('getpfinfo()', 500);});
//<![CDATA[
function getpfinfo() {
jQuery.ajax({
......
......@@ -175,15 +175,15 @@ include("head.inc");
if(have_ruleint_access($if))
$interfaces[$if] = $ifdesc;
if ($config['l2tp']['mode'] == "server")
if (isset($config['l2tp']['mode']) && $config['l2tp']['mode'] == "server")
if(have_ruleint_access("l2tp"))
$interfaces['l2tp'] = "L2TP VPN";
if ($config['pptpd']['mode'] == "server")
if (isset($config['pptpd']['mode']) && $config['pptpd']['mode'] == "server")
if(have_ruleint_access("pptp"))
$interfaces['pptp'] = "PPTP VPN";
if ($config['pppoe']['mode'] == "server")
if (isset($config['pppoe']['mode']) && $config['pppoe']['mode'] == "server")
if(have_ruleint_access("pppoe"))
$interfaces['pppoe'] = "PPPoE VPN";
......
......@@ -31,7 +31,7 @@
require_once("guiconfig.inc");
require_once("captiveportal.inc");
require_once("services.inc");
require_once("interfaces.inc");
function allowedipscmp($a, $b)
{
......
......@@ -29,6 +29,7 @@
require_once("guiconfig.inc");
require_once("captiveportal.inc");
require_once("services.inc");
require_once("interfaces.inc");
$pgtitle = array(gettext("Services"),gettext("Captive portal"),gettext("Edit Zones"));
$shortcut_section = "captiveportal";
......
......@@ -29,6 +29,7 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("pfsense-utils.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/services_dnsmasq.php');
......
......@@ -28,7 +28,7 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once("interfaces.inc");
function hostcmp($a, $b) {
return strcasecmp($a['host'], $b['host']);
......
......@@ -29,6 +29,7 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once("interfaces.inc");
if (!isset($config['dnsupdates']['dnsupdate'])) {
$config['dnsupdates']['dnsupdate'] = array();
......
......@@ -29,7 +29,7 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once("interfaces.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/services_unbound.php');
......
......@@ -29,6 +29,7 @@
require_once("guiconfig.inc");
require_once("services.inc");
require_once("interfaces.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/services_unbound.php');
......
......@@ -30,6 +30,7 @@
require_once("guiconfig.inc");
require_once("system.inc");
require_once("services.inc");
require_once("interfaces.inc");
require_once("pfsense-utils.inc");
require_once("openvpn.inc");
......
......@@ -32,6 +32,7 @@
require_once("guiconfig.inc");
require_once("filter.inc");
require_once("services.inc");
require_once("system.inc");
function default_table_entries_size()
{
......
......@@ -342,7 +342,7 @@ endforeach; ?>
<select name="useaddr" id="useaddr" class="formselect" onchange="useaddr_changed(this)">
<option value="serveraddr" >Interface IP Address</option>
<option value="serverhostname" >Installation hostname</option>
<?php if (is_array($config['dyndnses']['dyndns'])) :
<?php if (isset($config['dyndnses']['dyndns'])) :
?>
<?php foreach ($config['dyndnses']['dyndns'] as $ddns) :
?>
......
......@@ -30,6 +30,7 @@
require_once("guiconfig.inc");
require_once("filter.inc");
require_once("vpn.inc");
require_once("interfaces.inc");
if (!is_array($config['pppoes'])) {
$config['pppoes'] = 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