diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-16 21:39:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-16 21:39:41 +0000 |
commit | 9c748b70a202034f2d4551d83959f8ffdcb29a1c (patch) | |
tree | 4a1c9ef517dac6d6a6cc7b9a7a4f95e29f813c2d /usr/local/www | |
parent | 8ae8438be4ecc41f533fce27df664444cbd84c36 (diff) | |
download | pfsense-9c748b70a202034f2d4551d83959f8ffdcb29a1c.zip pfsense-9c748b70a202034f2d4551d83959f8ffdcb29a1c.tar.gz |
Do not dirty the path. We reload anyways.
Ticket #369
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 3 | ||||
-rwxr-xr-x | usr/local/www/services_dhcp_edit.php | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index e0d01ce..35cf6cd 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -136,8 +136,8 @@ if ($_POST) { $config['dhcpd'][$if]['gateway'] = $_POST['gateway']; $config['dhcpd'][$if]['staticarp'] = $_POST['staticarp'] ? true : false; - + write_config(); /* static arp configuration */ @@ -156,7 +156,6 @@ if ($_GET['act'] == "del") { if ($a_maps[$_GET['id']]) { unset($a_maps[$_GET['id']]); write_config(); - touch($d_staticmapsdirty_path); header("Location: services_dhcp.php?if={$if}"); exit; } diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php index 3f3f077..b9a2488 100755 --- a/usr/local/www/services_dhcp_edit.php +++ b/usr/local/www/services_dhcp_edit.php @@ -120,8 +120,6 @@ if ($_POST) { else $a_maps[] = $mapent; - touch($d_staticmapsdirty_path); - write_config(); header("Location: services_dhcp.php?if={$if}"); |