summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-24 06:03:20 +0000
committerBill Marquette <billm@pfsense.org>2005-03-24 06:03:20 +0000
commit59d922dc4b7667c875142c18b861fc94787c07ac (patch)
tree3d131c218a82214679e89e3b0d5529c885b28eb7
parent2b87adaef5c78bfa6220fff9b9998d3b9c171838 (diff)
downloadpfsense-59d922dc4b7667c875142c18b861fc94787c07ac.zip
pfsense-59d922dc4b7667c875142c18b861fc94787c07ac.tar.gz
Standardize usage of write_config()
-rwxr-xr-xusr/local/www/system_routes.php3
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;
OpenPOWER on IntegriCloud