diff options
author | Bill Marquette <billm@pfsense.org> | 2005-05-16 03:31:55 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-05-16 03:31:55 +0000 |
commit | f977ac60e216bdce83a56fef52ac22d862729f67 (patch) | |
tree | db49b49ab14b4a93fb60246af4fb0d4dada49298 /usr | |
parent | 5a9edd86aadf8083e5c4a7f1057619698dac8b13 (diff) | |
download | pfsense-f977ac60e216bdce83a56fef52ac22d862729f67.zip pfsense-f977ac60e216bdce83a56fef52ac22d862729f67.tar.gz |
Include guiconfig.inc so we can use auth.inc
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/exec_raw.php | 1 | ||||
-rwxr-xr-x | usr/local/www/graph.php | 2 | ||||
-rwxr-xr-x | usr/local/www/progress.php | 2 | ||||
-rwxr-xr-x | usr/local/www/status.php | 1 | ||||
-rwxr-xr-x | usr/local/www/xmlrpc.php | 1 |
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"); |