Commit daab6041cef970e773fae946bc653bd617383651

Authored by kevin_fourie
1 parent cc043603

KTS-2110

"When not having a PDF reader or similar installed the 'Generate PDF' functionality converts the file to a php format."
Fixed.

Committed By: Kevin
Reviewed By: Conrad



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6885 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/PDFGeneratorAction.php
... ... @@ -223,7 +223,7 @@ class PDFGeneratorAction extends KTDocumentAction {
223 223 header("Cache-Control: post-check=0, pre-check=0", false);
224 224  
225 225 // HTTP/1.0
226   - header("Pragma: no-cache");
  226 + // header("Pragma: no-cache"); // Don't send this header! It breaks IE.
227 227  
228 228 // Get a filelike object and send it to the browser
229 229 $oFile = new KTFSFileLike($sTempFilename);
... ...