Changeset 19518


Ignore:
Timestamp:
2010/11/07 04:06:53 (13 years ago)
Author:
no61
Message:

機種判別修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/SC_Display.php

    r19517 r19518  
    103103    function detectDevice(){ 
    104104        $nu = new Net_UserAgent_Mobile(); 
     105        $su = new SC_SmartphoneUserAgent(); 
    105106        $retDevice = 0; 
    106107        if($nu->isMobile()){ 
    107108            $retDevice = 1; 
    108         }elseif ($nu->isSmartphone()){ 
     109        }elseif ($su->isSmartphone()){ 
    109110            $retDevice = 2; 
    110111        }else{ 
Note: See TracChangeset for help on using the changeset viewer.