diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-24 06:03:20 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-24 06:03:20 +0000 |
commit | 59d922dc4b7667c875142c18b861fc94787c07ac (patch) | |
tree | 3d131c218a82214679e89e3b0d5529c885b28eb7 /usr/local | |
parent | 2b87adaef5c78bfa6220fff9b9998d3b9c171838 (diff) | |
download | pfsense-59d922dc4b7667c875142c18b861fc94787c07ac.zip pfsense-59d922dc4b7667c875142c18b861fc94787c07ac.tar.gz |
Standardize usage of write_config()
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php index 043f74c..e806ddf 100755 --- a/usr/local/www/system_routes.php +++ b/usr/local/www/system_routes.php @@ -78,8 +78,9 @@ if ($_POST) { if ($_GET['act'] == "del") { if ($a_routes[$_GET['id']]) { + $changedesc .= "removed route to {$_GET['id']}"; unset($a_routes[$_GET['id']]); - write_config("Static Routes: removed route to {$_GET['id']}"); + write_config($changedesc); touch($d_staticroutesdirty_path); header("Location: system_routes.php"); exit; |