Only mount rw on $_POST

This commit is contained in:
Scott Ullrich 2009-06-25 14:41:06 -04:00
parent 7955cde8a5
commit 61a90ed590

View File

@ -54,7 +54,8 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) {
unset($_POST['txtCommand']);
}
conf_mount_rw();
if($_POST)
conf_mount_rw();
// Function: is Blank
// Returns true or false depending on blankness of argument.
@ -321,6 +322,7 @@ document.forms[0].txtCommand.focus();
<?php
conf_mount_ro();
if($_POST)
conf_mount_ro();
?>
?>