Changeset 17259


Ignore:
Timestamp:
2008/04/13 11:48:28 (12 years ago)
Author:
homan
Message:

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

File:
1 edited

Legend:

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

    r17182 r17259  
    10311031            { 
    10321032                //We send to a browser 
     1033                if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { header('Pragma:'); } 
    10331034                header('Content-Type: application/pdf'); 
    10341035                if(headers_sent()) 
     
    10431044            if(ob_get_contents()) 
    10441045                $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:'); 
    10461048                header('Content-Type: application/force-download'); 
     1049            } 
    10471050            else 
    10481051                header('Content-Type: application/octet-stream'); 
Note: See TracChangeset for help on using the changeset viewer.