summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-10-20 15:13:47 +0000
committerErmal <eri@pfsense.org>2010-10-20 15:13:47 +0000
commitac87dbbf244d2415dbe72cc4746e2722004cf42c (patch)
tree0cd20a3c5d69f975f0fb0220c7c14f66958cfe12 /usr/local/www/wizards
parent7d30a315cbe1ead1bbeac17c6ce2cf2678b992e4 (diff)
downloadpfsense-ac87dbbf244d2415dbe72cc4746e2722004cf42c.zip
pfsense-ac87dbbf244d2415dbe72cc4746e2722004cf42c.tar.gz
Traffic shaper wizards remove redirection before final step. This seems a forgotten item.
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc3
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_dedicated.inc3
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_multi_all.inc28
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc3
4 files changed, 13 insertions, 24 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index 78344cf..e42de1e 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -555,9 +555,6 @@ function step8_stepsubmitphpaction() {
clear_subsystem_dirty('shaper');
update_filter_reload_status("Initializing");
-
- /* Head over and check out the groovy queue stats */
- header("Location: status_filter_reload.php");
}
function step9_stepsubmitphpaction() {
global $g, $config;
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
index 9909db7..78c8990 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
@@ -582,9 +582,6 @@ function step8_stepsubmitphpaction() {
clear_subsystem_dirty('shaper');
update_filter_reload_status("Initializing");
-
- /* Head over and check out the groovy queue stats */
- header("Location: status_filter_reload.php");
}
function step9_stepsubmitphpaction() {
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 b44a0b8..63b3b11 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
@@ -598,27 +598,25 @@ function step5_stepsubmitphpaction() {
}
function step8_stepsubmitphpaction() {
- global $g, $config;
-
- /* save the new configuration */
- apply_all_choosen_items();
+ global $g, $config;
- /* reset rrd queues */
- system("rm -f /var/db/rrd/*queuedrops.rrd");
- system("rm -f /var/db/rrd/*queues.rrd");
- enable_rrd_graphing();
+ /* save the new configuration */
+ apply_all_choosen_items();
- /* apply the new configuration to the system */
- filter_configure();
+ /* reset rrd queues */
+ system("rm -f /var/db/rrd/*queuedrops.rrd");
+ system("rm -f /var/db/rrd/*queues.rrd");
+ enable_rrd_graphing();
- /* And we're no longer dirty! */
- clear_subsystem_dirty('shaper');
+ /* apply the new configuration to the system */
+ filter_configure();
- update_filter_reload_status("Initializing");
+ /* And we're no longer dirty! */
+ clear_subsystem_dirty('shaper');
- /* Head over and check out the groovy queue stats */
- header("Location: status_filter_reload.php");
+ update_filter_reload_status("Initializing");
}
+
function step9_stepsubmitphpaction() {
global $g, $config;
header("status_filter_reload.php");
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 9cdbf46..e4f5816 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
@@ -397,9 +397,6 @@ function step8_stepsubmitphpaction() {
clear_subsystem_dirty('shaper');
update_filter_reload_status("Initializing");
-
- /* Head over and check out the groovy queue stats */
- header("Location: status_filter_reload.php");
}
function step9_stepsubmitphpaction() {
OpenPOWER on IntegriCloud