Changeset 19518
- Timestamp:
- 2010/11/07 04:06:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/SC_Display.php
r19517 r19518 103 103 function detectDevice(){ 104 104 $nu = new Net_UserAgent_Mobile(); 105 $su = new SC_SmartphoneUserAgent(); 105 106 $retDevice = 0; 106 107 if($nu->isMobile()){ 107 108 $retDevice = 1; 108 }elseif ($ nu->isSmartphone()){109 }elseif ($su->isSmartphone()){ 109 110 $retDevice = 2; 110 111 }else{
Note: See TracChangeset
for help on using the changeset viewer.