Révision 8422cdd5
Ajouté par Ermal il y a environ 10 ans
etc/rc.update_alias_url_data | ||
---|---|---|
36 | 36 |
require_once("config.inc"); |
37 | 37 |
require_once("functions.inc"); |
38 | 38 |
|
39 |
update_alias_url_data(); |
|
40 |
|
|
39 |
if (update_alias_url_data()) { |
|
40 |
write_config(); |
|
41 |
send_event("filter reload"); |
|
42 |
} |
|
41 | 43 |
?> |
Formats disponibles : Unified diff
Rewrite update_alias_url_data to be with small memory footprint. Also return the status if an update is performed to callers and remove the write_config call embedded here since its not good to have this by default.