From 2a345ca849a4f9d62fab09e9125740796209b4b4 Mon Sep 17 00:00:00 2001 From: Kevin Fourie Date: Fri, 29 Jun 2007 20:20:56 +0000 Subject: [PATCH] Merged in from STABLE trunk... --- lib/storage/ondiskhashedstoragemanager.inc.php | 8 ++++---- plugins/ktstandard/PDFGeneratorAction.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/storage/ondiskhashedstoragemanager.inc.php b/lib/storage/ondiskhashedstoragemanager.inc.php index 16f75da..8bde241 100644 --- a/lib/storage/ondiskhashedstoragemanager.inc.php +++ b/lib/storage/ondiskhashedstoragemanager.inc.php @@ -157,11 +157,11 @@ class KTOnDiskHashedStorageManager extends KTStorageManager { header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // HTTP/1.1 - header("Cache-Control: no-store, no-cache, must-revalidate"); - header("Cache-Control: post-check=0, pre-check=0", false); + header("Cache-Control: no-store, no-cache, must-revalidate"); + header("Cache-Control: post-check=0, pre-check=0", false); - // HTTP/1.0 - header("Pragma: no-cache"); + // HTTP/1.0 + // header("Pragma: no-cache"); // Don't send this header! It breaks IE. $oFile = new KTFSFileLike($sPath); KTFileLikeUtil::send_contents($oFile); diff --git a/plugins/ktstandard/PDFGeneratorAction.php b/plugins/ktstandard/PDFGeneratorAction.php index 68cd5b1..be36665 100644 --- a/plugins/ktstandard/PDFGeneratorAction.php +++ b/plugins/ktstandard/PDFGeneratorAction.php @@ -223,7 +223,7 @@ class PDFGeneratorAction extends KTDocumentAction { header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.0 - header("Pragma: no-cache"); + // header("Pragma: no-cache"); // Don't send this header! It breaks IE. // Get a filelike object and send it to the browser $oFile = new KTFSFileLike($sTempFilename); -- libgit2 0.21.4