projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6024689
)
webkitpdf.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 08:05:25 +0000
(16:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 08:05:25 +0000
(16:05 +0800)
webkitpdf.php
patch
|
blob
|
history
diff --git
a/webkitpdf.php
b/webkitpdf.php
index
594d63a
..
3504e68
100644
(file)
--- a/
webkitpdf.php
+++ b/
webkitpdf.php
@@
-69,7
+69,7
@@
class WebkitPdf
header("Expires: ");
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Pragma: public");
- header("Last-Modified: " . gmdate("D, d M Y H:i:s",
$ts
) . " GMT");
+ header("Last-Modified: " . gmdate("D, d M Y H:i:s",
time()
) . " GMT");
//header('Content-length: '. filesize($out));
header('Content-Disposition: attachment; filename="' . htmlspecialchars(basename($out)). '"');