summaryrefslogtreecommitdiffstats
path: root/usr/local/www/exec.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-22 02:31:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-22 02:31:17 +0000
commit510e86d1d16640329c500555265bf7a8c3c183ef (patch)
tree34da3d6f12acadabdd17e043e2cf08020587912c /usr/local/www/exec.php
parentc9cfb8076ecf914c42745bfa9627324085a427a2 (diff)
downloadpfsense-510e86d1d16640329c500555265bf7a8c3c183ef.zip
pfsense-510e86d1d16640329c500555265bf7a8c3c183ef.tar.gz
guiconfig.inc needs to come first.
Noticed-by: fernando.a.quintero@gmail.com
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-xusr/local/www/exec.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index de237a7..7294894 100755
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -7,6 +7,7 @@
(modified for m0n0wall by Manuel Kasper <mk@neon1.net>)
*/
+require("guiconfig.inc");
if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) {
session_cache_limiter('public');
@@ -24,8 +25,6 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) {
unset($_POST['txtCommand']);
}
-require("guiconfig.inc");
-
conf_mount_rw();
// Function: is Blank
OpenPOWER on IntegriCloud