summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/exec.php4
-rwxr-xr-xusr/local/www/exec_raw.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index 9a6e51b..396ef67 100755
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -1,4 +1,4 @@
-<?php
+ <?php
/* $Id$ */
/*
Exec+ v1.02-000 - Copyright 2001-2003, All rights reserved
@@ -7,6 +7,8 @@
(modified for m0n0wall by Manuel Kasper <mk@neon1.net>)
*/
+$omit_nocacheheaders = true;
+
if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) {
session_cache_limiter('public');
$fd = fopen($_POST['dlPath'], "rb");
diff --git a/usr/local/www/exec_raw.php b/usr/local/www/exec_raw.php
index 7c45d95..49413ab 100755
--- a/usr/local/www/exec_raw.php
+++ b/usr/local/www/exec_raw.php
@@ -29,6 +29,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
+$omit_nocacheheaders = true;
+
header("Content-Type: text/plain");
include("guiconfig.inc");
OpenPOWER on IntegriCloud