diff options
Diffstat (limited to 'pdf/cert_new.inc')
-rwxr-xr-x | pdf/cert_new.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/cert_new.inc b/pdf/cert_new.inc index 8fb6e5c..c5ec8a1 100755 --- a/pdf/cert_new.inc +++ b/pdf/cert_new.inc @@ -216,10 +216,10 @@ function generate_pdf() flush(); $fp = fopen($file, "r"); while (!feof($fp)) { - echo fread($fp, 65536); + echo fread($fp, filesize($file)); flush(); - ob_end_flush(); - ob_clean(); + //ob_end_flush(); + //ob_clean(); } //!feof($fp) fclose($fp); unlink($file); |