From 4ca53d18bde70abd1120a9a0c4bea61beca2d8e9 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 11 Mar 2006 05:24:12 +0000 Subject: Trigger reload at end of page --- usr/local/www/interfaces_assign.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr/local/www/interfaces_assign.php') diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php index e278892..8761400 100755 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -183,8 +183,6 @@ if ($_GET['act'] == "add") { write_config(); - touch("/tmp/reload_interfaces"); - $savemsg = "Interface has been added."; } @@ -286,5 +284,8 @@ include("head.inc"); if (!$input_errors) touch("/tmp/reload_interfaces"); } + + if ($_GET['act'] == "add") + touch("/tmp/reload_interfaces"); ?> \ No newline at end of file -- cgit v1.1