diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 22:13:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 22:13:37 +0000 |
commit | 9a7e416ce3607f2575163e38df1a24731ab48ab1 (patch) | |
tree | 3e6f0ba9e1bfc27415ad48af14fe748e58a030aa /usr | |
parent | bc1746b5b8a0b290f59f4896de65ba2d66118ce7 (diff) | |
download | pfsense-9a7e416ce3607f2575163e38df1a24731ab48ab1.zip pfsense-9a7e416ce3607f2575163e38df1a24731ab48ab1.tar.gz |
Reboots suck. Drop kick it to the moon.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_rules.php | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index cb6abe4..3591c91 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -61,18 +61,11 @@ if ($_POST) { if ($_POST['apply']) { $retval = 0; - if (!file_exists($d_sysrebootreqd_path)) { - config_lock(); - $retval = filter_configure(); - config_unlock(); - } - $savemsg = get_std_save_message($retval); - if ($retval == 0) { - if (file_exists($d_natconfdirty_path)) - unlink($d_natconfdirty_path); - if (file_exists($d_filterconfdirty_path)) - unlink($d_filterconfdirty_path); - } + config_lock(); + $retval = filter_configure(); + config_unlock(); + + $savemsg = "The settings have been applied"; } } |