projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d2424
)
webkitpdf.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 05:27:23 +0000
(13:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Nov 2015 05:27:23 +0000
(13:27 +0800)
webkitpdf.php
patch
|
blob
|
history
diff --git
a/webkitpdf.php
b/webkitpdf.php
index
5715f3c
..
8992ee6
100644
(file)
--- a/
webkitpdf.php
+++ b/
webkitpdf.php
@@
-39,6
+39,9
@@
class WebkitPdf
if (empty($xvfb)) {
$this->h404("missing webkitpdf (compile it..)");
}
+ // max delay 4 seconds.?
+ $delay = empty($_REQUEST['delay']) ? 1 : max(4,$_REQUEST['delay']);
+
}