Ignore:
Timestamp:
2011/10/28 18:58:18 (12 years ago)
Author:
shutta
Message:

#1527 (端末種別の判別ルーチンの統一)
Net_UserAgent_Mobile::isMobile()な処理をSC_Display_Ex::detectDevice()に統一。
但し、SC_Mobile_UserAgent::isNonMobile()は、対象から除外した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/SC_Response.php

    r20970 r21302  
    150150 
    151151        $session = SC_SessionFactory::getInstance(); 
    152         if (SC_MobileUserAgent_Ex::isMobile() || $session->useCookie() == false) { 
     152        if ((SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) 
     153            || ($session->useCookie() == false) 
     154        ) { 
    153155            $netUrl->addQueryString(session_name(), session_id()); 
    154156        } 
Note: See TracChangeset for help on using the changeset viewer.