diff options
author | Ermal <eri@pfsense.org> | 2011-08-02 07:59:56 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-02 08:00:13 +0000 |
commit | eea89a5c1b8eb3f1af2d4c9fc81c50ff764e7a59 (patch) | |
tree | 6db1c7c71e992ebab6c40d1963e6b4adf7785c6c | |
parent | b3795cb988b168a773c10a23675c4c674d8be194 (diff) | |
download | pfsense-eea89a5c1b8eb3f1af2d4c9fc81c50ff764e7a59.zip pfsense-eea89a5c1b8eb3f1af2d4c9fc81c50ff764e7a59.tar.gz |
Declare the arrays as global since that is what they are. Correct the name of asterisk in the global defniition.
5 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/wizardapp.inc b/etc/inc/wizardapp.inc index 9208e7b..e310949 100644 --- a/etc/inc/wizardapp.inc +++ b/etc/inc/wizardapp.inc @@ -167,8 +167,8 @@ $voiplist = array(); /* asterisk server / same as vonage */ $voiplist['Asterisk'] = array(); - $voiplist['Asterisk'][] = array($_POST['provider'], 'udp', '5060', '5069', 'both'); - $voiplist['Asterisk'][] = array($_POST['provider'], 'udp', '10000', '20000', 'both'); + $voiplist['Asterisk'][] = array('Asterisk', 'udp', '5060', '5069', 'both'); + $voiplist['Asterisk'][] = array('Asterisk', 'udp', '10000', '20000', 'both'); /* VoicePulse server */ $voiplist['VoicePulse'] = array(); diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 86b8e15..0ff0b5a 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -570,7 +570,7 @@ function step8_stepsubmitphpaction() { } function apply_all_choosen_items() { - global $config, $g, $altq_list_queues, $gamesplist; + global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist; require_once("wizardapp.inc"); diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 9cfb8f2..44298d6 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -602,7 +602,7 @@ function step8_stepsubmitphpaction() { } function apply_all_choosen_items() { - global $config, $g, $altq_list_queues, $gamesplist; + global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist; require_once("wizardapp.inc"); diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc index 3e776d3..7256282 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc @@ -635,7 +635,7 @@ function step8_stepsubmitphpaction() { } function apply_all_choosen_items() { - global $config, $g, $altq_list_queues, $gamesplist; + global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist; require_once("wizardapp.inc"); diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc index 301aa55..48766ca 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc @@ -428,7 +428,7 @@ function step8_stepsubmitphpaction() { } function apply_all_choosen_items() { - global $config, $g, $altq_list_queues, $gamesplist; + global $config, $g, $altq_list_queues, $gamesplist, $voiplist, $othersplist, $p2plist; require_once("wizardapp.inc"); |