Changeset 3063330
- Timestamp:
- 04/03/2024 07:01:34 AM (2 years ago)
- File:
-
- 1 edited
-
realbig-media/trunk/textEditing.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
realbig-media/trunk/textEditing.php
r3062761 r3063330 830 830 } 831 831 832 $mobile_ua = isset($_SERVER['HTTP_ ACCEPT']) ? strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4)) : "";832 $mobile_ua = isset($_SERVER['HTTP_USER_AGENT']) ? strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4)) : ""; 833 833 $mobile_agents = array( 834 834 'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac', … … 846 846 } 847 847 848 if (isset($_SERVER['HTTP_ ACCEPT']) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) {848 if (isset($_SERVER['HTTP_USER_AGENT']) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) { 849 849 $mobile_browser++; 850 850 //Check for tablets on opera mini alternative headers
Note: See TracChangeset
for help on using the changeset viewer.