diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-14 20:59:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-14 20:59:36 +0000 |
commit | 21eebbb0668ce93664b4c58af25c1731f28dc5a2 (patch) | |
tree | 87044254f9ece9b0c23bffdfbf02d427ced96a23 /usr/local/www/interfaces_assign.php | |
parent | 526eef171c9fcf538fba61caccb19d0947a26b5f (diff) | |
download | pfsense-21eebbb0668ce93664b4c58af25c1731f28dc5a2.zip pfsense-21eebbb0668ce93664b4c58af25c1731f28dc5a2.tar.gz |
Do not redirect to same page, simply reparse config and show results
Diffstat (limited to 'usr/local/www/interfaces_assign.php')
-rwxr-xr-x | usr/local/www/interfaces_assign.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php index 59fda40..b17a94a 100755 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -139,8 +139,8 @@ if ($_GET['act'] == "del") { } write_config(); - header("Location: interfaces_assign.php"); - exit; + + $savemsg = "Interface has been deleted."; } if ($_GET['act'] == "add") { @@ -174,8 +174,8 @@ if ($_GET['act'] == "add") { touch("/tmp/reload_interfaces"); - header("Location: interfaces_assign.php"); - exit; + $savemsg = "Interface has been added."; + } |