From 510e86d1d16640329c500555265bf7a8c3c183ef Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 22 Jul 2008 02:31:17 +0000 Subject: guiconfig.inc needs to come first. Noticed-by: fernando.a.quintero@gmail.com --- usr/local/www/exec.php | 3 +-- 1 file changed, 1 insertion(+), 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 ) */ +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 -- cgit v1.1