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);