diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-26 01:30:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-26 01:30:19 +0000 |
commit | a5efc452d568ebf689829b5d56c378aa9850e811 (patch) | |
tree | 499362989716b883cf02dfba13b5cf76ce87a064 | |
parent | 241498059b76355b806bb5c1f8161b87cb6d6fa8 (diff) | |
download | pfsense-a5efc452d568ebf689829b5d56c378aa9850e811.zip pfsense-a5efc452d568ebf689829b5d56c378aa9850e811.tar.gz |
Remove shaper dirty flag if exists after wizard. We force a reload either way.
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index 74acc1d..b5bf803 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -2001,7 +2001,9 @@ </stepbeforeformdisplay> <stepsubmitphpaction> $config['shaper']['enable'] = TRUE; - unset($config['shaper']['itemsshaped']); + unset($config['shaper']['itemsshaped']); + if(file_exists($d_shaperconfdirty_path)) + mwexec("rm {$d_shaperconfdirty_path}"); filter_configure_sync(); header("Location: /status_queues.php"); </stepsubmitphpaction> |