summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'pdf')
-rwxr-xr-xpdf/cert_new.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf/cert_new.inc b/pdf/cert_new.inc
index cca67e7..dd307e1 100755
--- a/pdf/cert_new.inc
+++ b/pdf/cert_new.inc
@@ -170,9 +170,8 @@ function generate_pdf()
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: public");
- header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=" . $filename);
- header("Content-Type: application/octet-stream");
+ header("Content-Type: application/pdf");
header("Content-Type: application/download");
header("Content-Description: File Transfer");
header("Content-Length: " . filesize($file));