diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-07-16 20:49:18 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-07-16 20:49:18 +0000 |
commit | 48d418e8291a03f532f474cac5dd830f329536d3 (patch) | |
tree | e84e8229ecb6a084ce39dd225427e8d1395f38a7 /usr/local/www/firewall_shaper.php | |
parent | 64c7753b811ece45999370705ca87bbcf6128cb8 (diff) | |
download | pfsense-48d418e8291a03f532f474cac5dd830f329536d3.zip pfsense-48d418e8291a03f532f474cac5dd830f329536d3.tar.gz |
Reread the config after the new settings are saved.
Diffstat (limited to 'usr/local/www/firewall_shaper.php')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index 50e587a..0cc0e30 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -219,8 +219,8 @@ if ($_GET) { touch($d_shaperconfdirty_path); $can_enable = true; $can_add = true; - read_altq_config(); } + read_altq_config(); $output_form .= $altq->build_form(); } else if ($parentqueue) { /* Add a new queue */ @@ -233,7 +233,6 @@ if ($_GET) { array_pop($tmppath); $tmp->wconfig(); $can_enable = true; - read_altq_config(); if ($tmp->CanHaveChilds() && $can_enable) { if ($tmp->GetDefault() <> "") $can_add = false; @@ -250,6 +249,7 @@ if ($_GET) { else $can_add = true; } + read_altq_config(); $output_form .= $tmp->build_form(); } else $input_errors[] = "Could not add new queue."; @@ -292,9 +292,9 @@ if ($_GET) { write_config(); touch($d_shaperconfdirty_path); $dontshow = false; - read_altq_config(); } - $output_form .= $queue->build_form(); + read_altq_config(); + $output_form .= $queue->build_form(); } else { $output_form .= "<p class=\"pgtitle\">" . $default_shaper_msg."</p>"; $dontshow = true; |