summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/exec_raw.php1
-rwxr-xr-xusr/local/www/graph.php2
-rwxr-xr-xusr/local/www/progress.php2
-rwxr-xr-xusr/local/www/status.php1
-rwxr-xr-xusr/local/www/xmlrpc.php1
5 files changed, 7 insertions, 0 deletions
diff --git a/usr/local/www/exec_raw.php b/usr/local/www/exec_raw.php
index fad85e0..027cd59 100755
--- a/usr/local/www/exec_raw.php
+++ b/usr/local/www/exec_raw.php
@@ -31,6 +31,7 @@
*/
header("Content-Type: text/plain");
+include("guiconfig.inc");
putenv("PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin");
passthru($_GET['cmd']);
diff --git a/usr/local/www/graph.php b/usr/local/www/graph.php
index 455cf96..fefc2ad 100755
--- a/usr/local/www/graph.php
+++ b/usr/local/www/graph.php
@@ -30,6 +30,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
+include("guiconfig.inc");
+
// VERSION 1.0.4
/********** HTTP GET Based Conf ***********/
diff --git a/usr/local/www/progress.php b/usr/local/www/progress.php
index 032510b..a4126a8 100755
--- a/usr/local/www/progress.php
+++ b/usr/local/www/progress.php
@@ -2,6 +2,8 @@
<?php
/* $Id$ */
+include("guiconfig.inc");
+
$url = 'progress.php?UPLOAD_IDENTIFIER='. $_GET["UPLOAD_IDENTIFIER"] .'&e=1';
function nice_value($x) {
diff --git a/usr/local/www/status.php b/usr/local/www/status.php
index d516848..a13edbd 100755
--- a/usr/local/www/status.php
+++ b/usr/local/www/status.php
@@ -13,6 +13,7 @@
*/
/* include all configuration functions */
+require_once("guiconfig.inc");
require_once("functions.inc");
function doCmdT($title, $command) {
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php
index 7596207..7e28e2d 100755
--- a/usr/local/www/xmlrpc.php
+++ b/usr/local/www/xmlrpc.php
@@ -36,6 +36,7 @@
* xmlrpc_params_to_php currently does *not* handle structs.
*/
+include("guiconfig.inc");
require_once("xmlrpc_server.inc");
require_once("xmlrpc.inc");
require_once("xmlparse_pkg.inc");
OpenPOWER on IntegriCloud