Changeset 17258 for branches/comu-euc
- Timestamp:
- 2008/04/13 11:32:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-euc/data/pdf/fpdf.php
r17113 r17258 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:'); } 1034 1033 1035 header('Content-Type: application/pdf'); 1034 1036 if(headers_sent()) … … 1043 1045 if(ob_get_contents()) 1044 1046 $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')) 1047 if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { 1048 header('Pragma:'); 1046 1049 header('Content-Type: application/force-download'); 1050 } 1047 1051 else 1048 1052 header('Content-Type: application/octet-stream');
Note: See TracChangeset
for help on using the changeset viewer.