cvs: pear /Net_UserAgent Detect.php
| From: | Daniel Allen | Date: | Tue, 29 Oct 2002 23:54:55 +0000 |
| Subject: | cvs: pear /Net_UserAgent Detect.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7238@lists.php.net to get a copy of this message | ||
dallen Tue Oct 29 18:54:55 2002 EDT
Modified files:
/pear/Net_UserAgent Detect.php
Log:
- minor error
Index: pear/Net_UserAgent/Detect.php
diff -u pear/Net_UserAgent/Detect.php:1.3 pear/Net_UserAgent/Detect.php:1.4
--- pear/Net_UserAgent/Detect.php:1.3 Tue Oct 29 18:31:16 2002
+++ pear/Net_UserAgent/Detect.php Tue Oct 29 18:54:54 2002
@@ -17,7 +17,7 @@
// | Authors: Dan Allen <dan@mojavelinux.com> |
// +----------------------------------------------------------------------+
-// $Id: Detect.php,v 1.3 2002/10/29 23:31:16 dallen Exp $
+// $Id: Detect.php,v 1.4 2002/10/29 23:54:54 dallen Exp $
// }}}
// {{{ description
@@ -79,7 +79,7 @@
* the versions of those operating systems (windows)
* @var array $os
*/
- var $os = array('win', 'win95', 'win16', 'win31',
'win9x', 'win98', 'winme', 'win2k', 'winxp',
'winnt', 'os2', 'mac', 'mac68k', 'macppc',
'linux', 'unix', 'vms', 'sun', 'sun4',
'sun5', 'suni86', 'irix', 'irix5', 'irix6',
'hpux', 'hpux9', 'hpux10', 'aix', 'aix1',
'aix2', 'aix3', 'aix4', 'sco', 'unixware',
'mpras', 'reliantunix', 'dec', 'sinix', 'freebsd',
'bsd');
+ var $os = array('win', 'win95', 'win16', 'win31',
'win9x', 'win98', 'winme', 'win2k', 'winxp',
'winnt', 'os2', 'mac', 'mac68k', 'macppc',
'linux', 'unix', 'vms', 'sun', 'sun4',
'sun5', 'suni86', 'irix', 'irix5', 'irix6',
'hpux', 'hpux9', 'hpux10', 'aix', 'aix1',
'aix2', 'aix3', 'aix4', 'sco', 'unixware',
'mpras', 'reliant', 'dec', 'sinix', 'freebsd',
'bsd');
/**
* Array that stores credentials for each of the browser/os combinations. These allow
@@ -360,7 +360,7 @@
$os['sco'] = (strpos($agt, 'sco') !== false) || (strpos($agt,
'unix_sv') !== false);
$os['unixware'] = (strpos($agt, 'unix_system_v') !== false);
$os['mpras'] = (strpos($agt, 'ncr') !== false);
- $os['reliantunix'] = (strpos($agt, 'reliantunix') !== false);
+ $os['reliant'] = (strpos($agt, 'reliant') !== false);
$os['dec'] = (strpos($agt, 'dec') !== false) || (strpos($agt,
'osf1') !== false) || (strpos($agt, 'dec_alpha') !== false) || (strpos($agt,
'alphaserver') !== false) || (strpos($agt, 'ultrix') !== false) || (strpos($agt,
'alphastation') !== false);
$os['sinix'] = (strpos($agt, 'sinix') !== false);
$os['freebsd'] = (strpos($agt, 'freebsd') !== false);