Ignore:
Timestamp:
2010/03/11 10:35:11 (14 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/data/pdf/fpdf.php

    r17232 r18609  
    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.