Changeset 18609 for tmp/version-2_5-test/data/pdf/fpdf.php
- Timestamp:
- 2010/03/11 10:35:11 (16 years ago)
- File:
-
- 1 edited
-
tmp/version-2_5-test/data/pdf/fpdf.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/pdf/fpdf.php
r17232 r18609 1031 1031 { 1032 1032 //We send to a browser 1033 if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { header('Pragma:'); } 1033 1034 header('Content-Type: application/pdf'); 1034 1035 if(headers_sent()) … … 1043 1044 if(ob_get_contents()) 1044 1045 $this->Error('Some data has already been output, can\'t send PDF file'); 1045 if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) 1046 if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { 1047 header('Pragma:'); 1046 1048 header('Content-Type: application/force-download'); 1049 } 1047 1050 else 1048 1051 header('Content-Type: application/octet-stream');
Note: See TracChangeset
for help on using the changeset viewer.
