projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2455619
)
webkitpdf.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 08:03:50 +0000
(16:03 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 08:03:50 +0000
(16:03 +0800)
webkitpdf.php
patch
|
blob
|
history
diff --git
a/webkitpdf.php
b/webkitpdf.php
index
e811904
..
f12564d
100644
(file)
--- a/
webkitpdf.php
+++ b/
webkitpdf.php
@@
-76,15
+76,7
@@
class WebkitPdf
ini_set('display_errors', 0);
$fh = fopen($out, 'rb');
- //fpassthru($fh);
-
- // passthrough seems to have problems -- trying fread
- while(!feof($fh))
- {
- echo @fread($fh, 1024*8);
- ob_flush();
- flush();
- }
+ fpassthru($fh);
fclose($fh);