Show
Ignore:
Timestamp:
07/11/08 01:57:39 (5 years ago)
Author:
ha1t
Message:

headers_sentを使ってみる

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/events.php.gr.jp/trunk/app/Haste_ViewClass.php

    r11374 r15664  
    185185    function _setDefault(&$render) 
    186186    { 
    187         header('Content-Type: text/html; charset=UTF-8'); 
     187        if (!headers_sent()) { 
     188            header('Content-Type: text/html; charset=UTF-8'); 
     189        } 
    188190    } 
    189191