summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-03 17:33:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-03 17:33:05 +0000
commit9b27960fade90dbfd40a8a5abd6f1d3096fb8f9a (patch)
tree9336b0b50e4bf474628b7592bdfa8f46777cea22 /usr/local/www
parent586d257b959d7e46a31f508e3f0f47cfc0c6f2ad (diff)
downloadpfsense-9b27960fade90dbfd40a8a5abd6f1d3096fb8f9a.zip
pfsense-9b27960fade90dbfd40a8a5abd6f1d3096fb8f9a.tar.gz
Trigger reload at the end of the page
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/interfaces_assign.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 0231926..577dbd3 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -115,8 +115,6 @@ if ($_POST) {
write_config();
- touch("/tmp/reload_interfaces");
-
}
}
@@ -272,3 +270,11 @@ include("head.inc");
</body>
</html>
+<?php
+
+ if ($_POST) {
+ if (!$input_errors)
+ touch("/tmp/reload_interfaces");
+ }
+
+?> \ No newline at end of file
OpenPOWER on IntegriCloud