Ignore:
Timestamp:
2007/10/08 19:40:30 (17 years ago)
Author:
naka
Message:

GC_Mobile*→SC_Mobile*に変換

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/helper/SC_Helper_Mobile.php

    r16232 r16329  
    2727     */ 
    2828    function lfMobileCheckCompatibility() { 
    29         if (!GC_MobileUserAgent::isSupported()) { 
     29        if (!SC_MobileUserAgent::isSupported()) { 
    3030            header('Location: ' . URL_DIR . 'mobile/unsupported/index.php'); 
    3131            exit; 
     
    137137 
    138138        // 携帯端末の機種が一致するかどうかをチェックする。 
    139         $model = GC_MobileUserAgent::getModel(); 
     139        $model = SC_MobileUserAgent::getModel(); 
    140140        if (@$_SESSION['mobile']['model'] != $model) { 
    141141            GC_Utils_Ex::gfPrintLog("User agent model mismatch : " . 
     
    166166        if ($sessionId === false || !$this->lfMobileValidateSession()) { 
    167167            session_regenerate_id(); 
    168             $_SESSION = array('mobile' => array('model'    => GC_MobileUserAgent::getModel(), 
    169                                                 'phone_id' => GC_MobileUserAgent::getId(), 
     168            $_SESSION = array('mobile' => array('model'    => SC_MobileUserAgent::getModel(), 
     169                                                'phone_id' => SC_MobileUserAgent::getId(), 
    170170                                                'expires'  => time() + MOBILE_SESSION_LIFETIME)); 
    171171 
     
    182182 
    183183        // 携帯端末IDを取得できた場合はセッションデータに保存する。 
    184         $phoneId = GC_MobileUserAgent::getId(); 
     184        $phoneId = SC_MobileUserAgent::getId(); 
    185185        if ($phoneId !== false) { 
    186186            $_SESSION['mobile']['phone_id'] = $phoneId; 
     
    212212 
    213213        // 絵文字タグを絵文字コードに変換する。 
    214         ob_start(array('GC_MobileEmoji', 'handler')); 
     214        ob_start(array('SC_MobileEmoji', 'handler')); 
    215215 
    216216        // 端末に合わせて画像サイズを変換する。 
    217         ob_start(array('GC_MobileImage', 'handler')); 
     217        ob_start(array('SC_MobileImage', 'handler')); 
    218218 
    219219        // 全角カタカナを半角カタカナに変換する。 
Note: See TracChangeset for help on using the changeset viewer.