Changeset 19016 for branches/camp/camp-2_5-E/data/class/SC_Display.php
- Timestamp:
- 2010/11/06 20:56:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/SC_Display.php
r19015 r19016 61 61 62 62 function isSmartphone(){ 63 $useragents = array [64 'iPhone', // Apple iPhone63 $useragents = array( 64 'iPhone', // Apple iPhone 65 65 'iPod', // Apple iPod touch 66 66 'Android', // 1.5+ Android … … 75 75 'incognito', // Other iPhone browser 76 76 'webmate' // Other iPhone browser 77 ];78 77 ); 78 79 79 if(preg_match('/'.user.'/', $subject)) 80 80 var pattern = new RegExp(useragents.join('|'), 'i');
Note: See TracChangeset
for help on using the changeset viewer.