Changeset 20494


Ignore:
Timestamp:
2011/03/04 21:47:08 (11 years ago)
Author:
shutta
Message:

SC_SmartphoneUserAgentクラスのclass_extends対応

Location:
branches/version-2_5-dev/data
Files:
1 added
3 edited

Legend:

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

    r20444 r20494  
    137137    function detectDevice(){ 
    138138        $nu = new Net_UserAgent_Mobile(); 
    139         $su = new SC_SmartphoneUserAgent(); 
     139        $su = new SC_SmartphoneUserAgent_Ex(); 
    140140        $retDevice = 0; 
    141141        if ($nu->isMobile()) { 
  • branches/version-2_5-dev/data/class/SC_SmartphoneUserAgent.php

    r20462 r20494  
    3939        $nu = new Net_UserAgent_Mobile(); 
    4040        // SPでかつPC表示OFFの場合 
    41         return $nu->isSmartphone() && !SC_SmartphoneUserAgent::getSmartphonePcFlag(); 
     41        return $nu->isSmartphone() && !SC_SmartphoneUserAgent_Ex::getSmartphonePcFlag(); 
    4242    } 
    4343 
     
    4848     */ 
    4949    function isNonSmartphone() { 
    50         return !SC_SmartphoneUserAgent::isSmartphone(); 
     50        return !SC_SmartphoneUserAgent_Ex::isSmartphone(); 
    5151    } 
    5252 
  • branches/version-2_5-dev/data/require_classes.php

    r20493 r20494  
    4949require_once(CLASS_REALDIR . "SC_Cookie.php"); 
    5050require_once(CLASS_REALDIR . "SC_MobileUserAgent.php"); 
    51 require_once(CLASS_REALDIR . "SC_SmartphoneUserAgent.php"); 
     51require_once(CLASS_EX_REALDIR . "SC_SmartphoneUserAgent_Ex.php"); 
    5252require_once(CLASS_EX_REALDIR . "SC_MobileEmoji_Ex.php"); 
    5353require_once(CLASS_EX_REALDIR . "SC_MobileImage_Ex.php"); 
Note: See TracChangeset for help on using the changeset viewer.