Ignore:
Timestamp:
2008/04/13 11:32:32 (16 years ago)
Author:
homan
Message:

IE+SSL時に帳票生成機能が利用できない不具合修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-euc/data/pdf/fpdf.php

    r17113 r17258  
    10311031            { 
    10321032                //We send to a browser 
     1033                if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { header('Pragma:'); } 
     1034 
    10331035                header('Content-Type: application/pdf'); 
    10341036                if(headers_sent()) 
     
    10431045            if(ob_get_contents()) 
    10441046                $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:'); 
    10461049                header('Content-Type: application/force-download'); 
     1050            } 
    10471051            else 
    10481052                header('Content-Type: application/octet-stream'); 
Note: See TracChangeset for help on using the changeset viewer.