diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/pkg_edit.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index 3eb80e4..1fd8b3a 100755 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -115,6 +115,8 @@ if($pkg['custom_php_command_before_form'] <> "") eval($pkg['custom_php_command_before_form']); if ($_POST) { + conf_mount_rw(); + if($_POST['act'] == "del") { if($pkg['custom_delete_php_command']) { if($pkg['custom_php_command_before_form'] <> "") @@ -246,10 +248,13 @@ if ($_POST) { } elseif(!$pkg['preoutput']) { pfSenseHeader("pkg.php?xml=" . $xml); } + conf_mount_ro(); exit; } else { $get_from_post = true; } + + conf_mount_ro(); } if($pkg['title'] <> "") { |