webkitpdf.php
authorAlan Knowles <alan@roojs.com>
Mon, 23 Nov 2015 08:03:15 +0000 (16:03 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Nov 2015 08:03:15 +0000 (16:03 +0800)
webkitpdf.php

index f643f01..e811904 100644 (file)
@@ -71,7 +71,7 @@ class WebkitPdf
         header("Pragma: public");     
         header("Last-Modified: " . gmdate("D, d M Y H:i:s",  $ts) . " GMT");
 
-        header('Content-length: '. filesize($out));
+        //header('Content-length: '. filesize($out));
         header('Content-Disposition: attachment; filename="' . htmlspecialchars($out).  '"');
         ini_set('display_errors', 0);