forked from science-ation/science-ation
This should make PDF's work in the broken IE/PDF/SSL implementation
This commit is contained in:
parent
152d3ce0ba
commit
f39178585b
1
lpdf.php
1
lpdf.php
@ -746,6 +746,7 @@ class lpdf
|
|||||||
header("Content-type: application/pdf");
|
header("Content-type: application/pdf");
|
||||||
header("Content-disposition: inline; filename=sfiab_".$filename.".pdf");
|
header("Content-disposition: inline; filename=sfiab_".$filename.".pdf");
|
||||||
header("Content-length: ".strlen($pdfdata));
|
header("Content-length: ".strlen($pdfdata));
|
||||||
|
header("Pragma: public");
|
||||||
echo $pdfdata;
|
echo $pdfdata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user