Ignore:
Timestamp:
2012/03/20 00:30:27 (12 years ago)
Author:
Seasoft
Message:

#1430 (PHP5.4対応)
#1679 (PHP 警告撲滅)

Location:
branches/version-2_12-dev/data/class
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Initial.php

    r21527 r21658  
    6161        $this->stripslashesDeepGpc(); 
    6262        $this->resetSuperglobalsRequest();  // stripslashesDeepGpc メソッドより後で実行 
     63        $this->setTimezone();               // 本当はエラーハンドラーより先に読みたい気も 
    6364    } 
    6465 
     
    470471        } 
    471472    } 
     473 
     474    /** 
     475     * タイムゾーンを設定 
     476     * 
     477     * @return void 
     478     */ 
     479    function setTimezone() { 
     480        date_default_timezone_set('Asia/Tokyo'); 
     481    } 
    472482} 
  • branches/version-2_12-dev/data/class/SC_MobileEmoji.php

    r21450 r21658  
    3939     * @return string 出力 
    4040     */ 
    41     function handler($buffer) { 
     41    static function handler($buffer) { 
    4242        $replace_callback = create_function('$matches', 'return SC_MobileEmoji_Ex::indexToCode($matches[1]);'); 
    4343        return preg_replace_callback('/\[emoji:(e?\d+)\]/', $replace_callback, $buffer); 
  • branches/version-2_12-dev/data/class/SC_MobileImage.php

    r21514 r21658  
    3838     * @return string 出力 
    3939     */ 
    40     function handler($buffer) { 
     40    static function handler($buffer) { 
    4141 
    4242        // 端末情報を取得する 
Note: See TracChangeset for help on using the changeset viewer.