diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 095c29713a..2a349ee7cf 100755 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -156,6 +156,7 @@ function sf() { document.forms[0].savetopath.focus(); } + diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index 03a9b2b609..3194f1326f 100755 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -1,5 +1,12 @@ #!/usr/local/bin/php ) +*/ + if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) { session_cache_limiter('public'); $fd = fopen($_POST['dlPath'], "rb"); @@ -15,18 +22,16 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) { $ulmsg = "Uploaded file to /tmp/" . htmlentities($_FILES['ulfile']['name']); unset($_POST['txtCommand']); } + +require("guiconfig.inc"); + ?> ) -*/ +include("fbegin.inc"); // Function: is Blank // Returns true or false depending on blankness of argument. @@ -235,6 +240,7 @@ if (!isBlank($_POST['txtCommand'])) { +