Revision 48d418e8
Added by Ermal Luçi almost 17 years ago
usr/local/www/firewall_shaper.php | ||
---|---|---|
219 | 219 |
touch($d_shaperconfdirty_path); |
220 | 220 |
$can_enable = true; |
221 | 221 |
$can_add = true; |
222 |
read_altq_config(); |
|
223 | 222 |
} |
223 |
read_altq_config(); |
|
224 | 224 |
$output_form .= $altq->build_form(); |
225 | 225 |
|
226 | 226 |
} else if ($parentqueue) { /* Add a new queue */ |
... | ... | |
233 | 233 |
array_pop($tmppath); |
234 | 234 |
$tmp->wconfig(); |
235 | 235 |
$can_enable = true; |
236 |
read_altq_config(); |
|
237 | 236 |
if ($tmp->CanHaveChilds() && $can_enable) { |
238 | 237 |
if ($tmp->GetDefault() <> "") |
239 | 238 |
$can_add = false; |
... | ... | |
250 | 249 |
else |
251 | 250 |
$can_add = true; |
252 | 251 |
} |
252 |
read_altq_config(); |
|
253 | 253 |
$output_form .= $tmp->build_form(); |
254 | 254 |
} else |
255 | 255 |
$input_errors[] = "Could not add new queue."; |
... | ... | |
292 | 292 |
write_config(); |
293 | 293 |
touch($d_shaperconfdirty_path); |
294 | 294 |
$dontshow = false; |
295 |
read_altq_config(); |
|
296 | 295 |
} |
297 |
$output_form .= $queue->build_form(); |
|
296 |
read_altq_config(); |
|
297 |
$output_form .= $queue->build_form(); |
|
298 | 298 |
} else { |
299 | 299 |
$output_form .= "<p class=\"pgtitle\">" . $default_shaper_msg."</p>"; |
300 | 300 |
$dontshow = true; |
Also available in: Unified diff
Reread the config after the new settings are saved.