cvs: pear /Net_UserAgent_Mobile/Mobile EZweb.php
| From: | KUBO Atsuhiro | Date: | Thu, 20 Feb 2003 14:52:29 +0000 |
| Subject: | cvs: pear /Net_UserAgent_Mobile/Mobile EZweb.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8967@lists.php.net to get a copy of this message | ||
kuboa Thu Feb 20 09:52:29 2003 EDT
Modified files:
/pear/Net_UserAgent_Mobile/Mobile EZweb.php
Log:
- Added the code which had forgotten by the port.
Index: pear/Net_UserAgent_Mobile/Mobile/EZweb.php
diff -u pear/Net_UserAgent_Mobile/Mobile/EZweb.php:1.1
pear/Net_UserAgent_Mobile/Mobile/EZweb.php:1.2
--- pear/Net_UserAgent_Mobile/Mobile/EZweb.php:1.1 Wed Feb 19 11:28:42 2003
+++ pear/Net_UserAgent_Mobile/Mobile/EZweb.php Thu Feb 20 09:52:28 2003
@@ -16,7 +16,7 @@
// | Authors: KUBO Atsuhiro <kubo@isite.co.jp> |
// +----------------------------------------------------------------------+
//
-// $Id: EZweb.php,v 1.1 2003/02/19 16:28:42 kuboa Exp $
+// $Id: EZweb.php,v 1.2 2003/02/20 14:52:28 kuboa Exp $
//
// SYNOPSIS:
// require_once('Net/UserAgent/Mobile.php');
@@ -48,7 +48,7 @@
* implements EZweb (WAP1.0/2.0) user agents.
*
* @package Net_UserAgent_Mobile
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @access public
* @see Net_UserAgent_Mobile_Common()
@@ -120,7 +120,8 @@
$this->_xhtml_compliant = TRUE;
list($this->_device_id, $browser, $opt, $this->_server_name) =
explode(' ', $matches[1], 4);
- list($this->name, $this->version) = explode('/', $browser);
+ list($this->name, $version) = explode('/', $browser);
+ $this->version = "$version $opt";
} else {
// UP.Browser/3.01-HI01 UP.Link/3.4.5.2