Changeset 6714 for trunk/phpgwapi/inc/class.browser.inc.php
- Timestamp:
- 07/05/12 11:49:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.browser.inc.php
r5281 r6714 44 44 const PLATFORM_ANDROID = 'Android'; 45 45 const PLATFORM_UNIX = 'Unix'; 46 const PLATFORM_WINMOBILE = 'WinMobile'; 46 47 47 48 function browser() … … 117 118 $this->BROWSER_PLATFORM = self::PLATFORM_MAC; 118 119 } 120 elseif(strstr($HTTP_USER_AGENT,'IEMobile')) 121 { 122 $this->BROWSER_PLATFORM = self::PLATFORM_WINMOBILE; 123 } 119 124 elseif(strstr($HTTP_USER_AGENT,'Win')) 120 125 { 121 126 $this->BROWSER_PLATFORM = self::PLATFORM_WINDOWS; 122 } 127 } 123 128 elseif(strstr($HTTP_USER_AGENT,'Linux')) 124 129 {
Note: See TracChangeset
for help on using the changeset viewer.