Ignore:
Timestamp:
2011/03/04 21:54:51 (13 years ago)
Author:
shutta
Message:

SC_MobileUserAgentクラスのclass_extends対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php

    r20493 r20495  
    4242     */ 
    4343    function lfMobileCheckCompatibility() { 
    44         if (!SC_MobileUserAgent::isSupported()) { 
     44        if (!SC_MobileUserAgent_Ex::isSupported()) { 
    4545            header('Location: ' . ROOT_URLPATH . 'unsupported/' . DIR_INDEX_PATH); 
    4646            exit; 
     
    157157 
    158158        // 携帯端末の機種が一致するかどうかをチェックする。 
    159         $model = SC_MobileUserAgent::getModel(); 
     159        $model = SC_MobileUserAgent_Ex::getModel(); 
    160160        if (@$_SESSION['mobile']['model'] != $model) { 
    161161            GC_Utils_Ex::gfPrintLog("User agent model mismatch : " . 
     
    187187        if ($sessionId === false || !$this->lfMobileValidateSession()) { 
    188188            session_regenerate_id(); 
    189             $_SESSION = array('mobile' => array('model'    => SC_MobileUserAgent::getModel(), 
    190                                                 'phone_id' => SC_MobileUserAgent::getId(), 
     189            $_SESSION = array('mobile' => array('model'    => SC_MobileUserAgent_Ex::getModel(), 
     190                                                'phone_id' => SC_MobileUserAgent_Ex::getId(), 
    191191                                                'expires'  => time() + MOBILE_SESSION_LIFETIME)); 
    192192 
     
    203203 
    204204        // 携帯端末IDを取得できた場合はセッションデータに保存する。 
    205         $phoneId = SC_MobileUserAgent::getId(); 
     205        $phoneId = SC_MobileUserAgent_Ex::getId(); 
    206206        if ($phoneId !== false) { 
    207207            $_SESSION['mobile']['phone_id'] = $phoneId; 
Note: See TracChangeset for help on using the changeset viewer.