diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-20 22:11:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-20 22:11:06 +0000 |
commit | dff1a09d6037799a0a71c3b628bc83fddbab89dd (patch) | |
tree | 883c028022d619cc530dd3285738830479ec3fd9 /usr/local/www/system_usermanager_addcert.php | |
parent | 4d98f6345332b02670bb7184e55d88e929a075c4 (diff) | |
download | pfsense-dff1a09d6037799a0a71c3b628bc83fddbab89dd.zip pfsense-dff1a09d6037799a0a71c3b628bc83fddbab89dd.tar.gz |
Mount image rw during changes
Diffstat (limited to 'usr/local/www/system_usermanager_addcert.php')
-rw-r--r-- | usr/local/www/system_usermanager_addcert.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/system_usermanager_addcert.php b/usr/local/www/system_usermanager_addcert.php index d975c19..9af9a9c 100644 --- a/usr/local/www/system_usermanager_addcert.php +++ b/usr/local/www/system_usermanager_addcert.php @@ -65,7 +65,8 @@ if ($_GET) { } if ($_POST) { - + conf_mount_rw(); + unset($input_errors); $pconfig = $_POST; @@ -93,6 +94,7 @@ if ($_POST) { /* if this is an AJAX caller then handle via JSON */ if (isAjax() && is_array($input_errors)) { input_errors2Ajax($input_errors); + conf_mount_ro(); exit; } @@ -122,6 +124,8 @@ if ($_POST) { write_config(); + conf_mount_ro(); + pfSenseHeader("system_usermanager.php?act=edit&id={$userid}"); } } |