diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-21 19:34:46 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-21 19:34:46 -0500 |
commit | 1a03cf690dca85bd89eac05c25f0b0d9c08c36a3 (patch) | |
tree | b821d70d26c6e64c630d23c6477311beaab82727 /usr/local | |
parent | 7a927e67a591995c9d4c6e03d6a9c7ee4445c2bf (diff) | |
download | pfsense-1a03cf690dca85bd89eac05c25f0b0d9c08c36a3.zip pfsense-1a03cf690dca85bd89eac05c25f0b0d9c08c36a3.tar.gz |
Include filter.inc and shaper.inc
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_aliases_import.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_1to1_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_out_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 3 | ||||
-rw-r--r-- | usr/local/www/firewall_schedule.php | 4 | ||||
-rwxr-xr-x | usr/local/www/firewall_virtual_ip_edit.php | 3 |
7 files changed, 15 insertions, 3 deletions
diff --git a/usr/local/www/firewall_aliases_import.php b/usr/local/www/firewall_aliases_import.php index 66a318b..fab4dae 100755 --- a/usr/local/www/firewall_aliases_import.php +++ b/usr/local/www/firewall_aliases_import.php @@ -40,6 +40,8 @@ $pgtitle = array("Firewall","Aliases","Import"); require("guiconfig.inc"); +require("filter.inc"); +require("shaper.inc"); aliases_sort(); $a_aliases = &$config['aliases']['alias']; diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php index 8398a0f..c4452d2 100755 --- a/usr/local/www/firewall_nat_1to1_edit.php +++ b/usr/local/www/firewall_nat_1to1_edit.php @@ -54,6 +54,8 @@ function nat_1to1_rules_sort() { } require("guiconfig.inc"); +require("filter.inc"); +require("shaper.inc"); if (!is_array($config['nat']['onetoone'])) { $config['nat']['onetoone'] = array(); diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index c4dd0a9..bd2b773 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -41,6 +41,8 @@ require("guiconfig.inc"); require_once("itemid.inc"); +require("filter.inc"); +require("shaper.inc"); if (!is_array($config['nat']['rule'])) { $config['nat']['rule'] = array(); diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index e270d44..60c1e3a 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -42,6 +42,8 @@ ##|-PRIV require("guiconfig.inc"); +require("filter.inc"); +require("shaper.inc"); if (!is_array($config['nat']['advancedoutbound']['rule'])) { $config['nat']['advancedoutbound']['rule'] = array(); diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 27eb08d..5cba8a8 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -41,8 +41,9 @@ ##|*MATCH=firewall_rules_edit.php* ##|-PRIV - require("guiconfig.inc"); +require("filter.inc"); +require("shaper.inc"); $specialsrcdst = explode(" ", "any pptp pppoe l2tp"); $ifdisp = get_configured_interface_with_descr(); diff --git a/usr/local/www/firewall_schedule.php b/usr/local/www/firewall_schedule.php index 1648d7e..f204497 100644 --- a/usr/local/www/firewall_schedule.php +++ b/usr/local/www/firewall_schedule.php @@ -39,14 +39,14 @@ ##|*MATCH=firewall_schedule.php* ##|-PRIV - - $pgtitle = array("Firewall","Schedules"); $dayArray = array ('Mon','Tues','Wed','Thur','Fri','Sat','Sun'); $monthArray = array ('January','February','March','April','May','June','July','August','September','October','November','December'); require("guiconfig.inc"); +require("filter.inc"); +require("shaper.inc"); if (!is_array($config['schedules']['schedule'])) $config['schedules']['schedule'] = array(); diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php index e670a5d..851c92b 100755 --- a/usr/local/www/firewall_virtual_ip_edit.php +++ b/usr/local/www/firewall_virtual_ip_edit.php @@ -50,6 +50,9 @@ ##|-PRIV require("guiconfig.inc"); +require("filter.inc"); +require("shaper.inc"); + if (!is_array($config['virtualip']['vip'])) { $config['virtualip']['vip'] = array(); } |