summaryrefslogtreecommitdiffstats
path: root/usr/local/www/exec.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-18 17:22:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-18 17:22:40 +0000
commit458e0e0bb543dd033846f9fc8db0e93f8e10ee46 (patch)
treec4efd85dd176a90997fa12969a4a26e656986ae5 /usr/local/www/exec.php
parentad8af8047b9b9154147d8130e6e6d9fedc73004e (diff)
downloadpfsense-458e0e0bb543dd033846f9fc8db0e93f8e10ee46.zip
pfsense-458e0e0bb543dd033846f9fc8db0e93f8e10ee46.tar.gz
Fix cache bug in IE.
Found in http://forum.m0n0.ch/index.php/topic,11.0.html
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-xusr/local/www/exec.php4
1 files changed, 3 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");
OpenPOWER on IntegriCloud