diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-07 20:52:08 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-07 20:52:08 +0000 |
commit | ed1320e7f6ae5a5337c81abbb4aac14256167d4e (patch) | |
tree | 577fcb236ad878beb09ddbb2a3b65c252a1aa743 | |
parent | a3af2487f44ba17e1d0a7323141c195c0b56cfe3 (diff) | |
download | pfsense-ed1320e7f6ae5a5337c81abbb4aac14256167d4e.zip pfsense-ed1320e7f6ae5a5337c81abbb4aac14256167d4e.tar.gz |
Only unlink if file exists
-rwxr-xr-x | usr/local/www/interfaces_lan.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php index 3b194cf..cef9227 100755 --- a/usr/local/www/interfaces_lan.php +++ b/usr/local/www/interfaces_lan.php @@ -290,7 +290,7 @@ function enable_change(enable_over) { if ($_POST['apply'] <> "") { touch("/tmp/reload_interfaces"); - + if(file_exists($d_landirty_path)) unlink($d_landirty_path); } |