cvs: pear /Net_UserAgent_Mobile Mobile.php /Net_UserAgent_Mobile/Mobile AirHPhone.php DoCoMo.php JPhone.php NonMobile.php
| From: | KUBO Atsuhiro | Date: | Fri, 14 Nov 2003 07:10:00 +0000 |
| Subject: | cvs: pear /Net_UserAgent_Mobile Mobile.php /Net_UserAgent_Mobile/Mobile AirHPhone.php DoCoMo.php JPhone.php NonMobile.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-14261@lists.php.net to get a copy of this message | ||
kuboa Fri Nov 14 02:10:00 2003 EDT
Modified files:
/pear/Net_UserAgent_Mobile/Mobile NonMobile.php JPhone.php
DoCoMo.php AirHPhone.php
/pear/Net_UserAgent_Mobile Mobile.php
Log:
- Changed *require/include* statements depend on this package for
testing.
Index: pear/Net_UserAgent_Mobile/Mobile/NonMobile.php
diff -u pear/Net_UserAgent_Mobile/Mobile/NonMobile.php:1.5
pear/Net_UserAgent_Mobile/Mobile/NonMobile.php:1.6
--- pear/Net_UserAgent_Mobile/Mobile/NonMobile.php:1.5 Sun Jul 6 22:10:24 2003
+++ pear/Net_UserAgent_Mobile/Mobile/NonMobile.php Fri Nov 14 02:09:49 2003
@@ -16,10 +16,10 @@
// | Authors: KUBO Atsuhiro <kubo@isite.co.jp> |
// +----------------------------------------------------------------------+
//
-// $Id: NonMobile.php,v 1.5 2003/07/07 02:10:24 kuboa Exp $
+// $Id: NonMobile.php,v 1.6 2003/11/14 07:09:49 kuboa Exp $
//
-require_once('Net/UserAgent/Mobile/Common.php');
+require_once(dirname(__FILE__) . '/Common.php');
/**
* Non-Mobile Agent implementation
@@ -40,7 +40,7 @@
* @category Networking
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @access public
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @see Net_UserAgent_Mobile_Common
*/
class Net_UserAgent_Mobile_NonMobile extends Net_UserAgent_Mobile_Common
Index: pear/Net_UserAgent_Mobile/Mobile/JPhone.php
diff -u pear/Net_UserAgent_Mobile/Mobile/JPhone.php:1.5
pear/Net_UserAgent_Mobile/Mobile/JPhone.php:1.6
--- pear/Net_UserAgent_Mobile/Mobile/JPhone.php:1.5 Sun Jul 6 22:10:24 2003
+++ pear/Net_UserAgent_Mobile/Mobile/JPhone.php Fri Nov 14 02:09:49 2003
@@ -16,11 +16,11 @@
// | Authors: KUBO Atsuhiro <kubo@isite.co.jp> |
// +----------------------------------------------------------------------+
//
-// $Id: JPhone.php,v 1.5 2003/07/07 02:10:24 kuboa Exp $
+// $Id: JPhone.php,v 1.6 2003/11/14 07:09:49 kuboa Exp $
//
-require_once('Net/UserAgent/Mobile/Common.php');
-require_once('Net/UserAgent/Mobile/Display.php');
+require_once(dirname(__FILE__) . '/Common.php');
+require_once(dirname(__FILE__) . '/Display.php');
/**
* J-PHONE implementation
@@ -58,7 +58,7 @@
* @category Networking
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @access public
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @see Net_UserAgent_Mobile_Common
* @link http://www.dp.j-phone.com/jsky/user.html
* @link http://www.dp.j-phone.com/jsky/position.html
Index: pear/Net_UserAgent_Mobile/Mobile/DoCoMo.php
diff -u pear/Net_UserAgent_Mobile/Mobile/DoCoMo.php:1.15
pear/Net_UserAgent_Mobile/Mobile/DoCoMo.php:1.16
--- pear/Net_UserAgent_Mobile/Mobile/DoCoMo.php:1.15 Sun Oct 12 11:03:09 2003
+++ pear/Net_UserAgent_Mobile/Mobile/DoCoMo.php Fri Nov 14 02:09:49 2003
@@ -16,12 +16,12 @@
// | Authors: KUBO Atsuhiro <kubo@isite.co.jp> |
// +----------------------------------------------------------------------+
//
-// $Id: DoCoMo.php,v 1.15 2003/10/12 15:03:09 kuboa Exp $
+// $Id: DoCoMo.php,v 1.16 2003/11/14 07:09:49 kuboa Exp $
//
-require_once('Net/UserAgent/Mobile/Common.php');
-require_once('Net/UserAgent/Mobile/Display.php');
-require_once('Net/UserAgent/Mobile/DoCoMoDisplayMap.php');
+require_once(dirname(__FILE__) . '/Common.php');
+require_once(dirname(__FILE__) . '/Display.php');
+require_once(dirname(__FILE__) . '/DoCoMoDisplayMap.php');
/**
* NTT DoCoMo implementation
@@ -68,7 +68,7 @@
* @category Networking
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @access public
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
* @see Net_UserAgent_Mobile_Common
* @link http://www.nttdocomo.co.jp/p_s/imode/spec/useragent.html
* @link http://www.nttdocomo.co.jp/p_s/imode/tag/imodetag.html
Index: pear/Net_UserAgent_Mobile/Mobile/AirHPhone.php
diff -u pear/Net_UserAgent_Mobile/Mobile/AirHPhone.php:1.3
pear/Net_UserAgent_Mobile/Mobile/AirHPhone.php:1.4
--- pear/Net_UserAgent_Mobile/Mobile/AirHPhone.php:1.3 Tue Jul 29 07:34:06 2003
+++ pear/Net_UserAgent_Mobile/Mobile/AirHPhone.php Fri Nov 14 02:09:49 2003
@@ -16,11 +16,11 @@
// | Authors: KUBO Atsuhiro <kubo@isite.co.jp> |
// +----------------------------------------------------------------------+
//
-// $Id: AirHPhone.php,v 1.3 2003/07/29 11:34:06 kuboa Exp $
+// $Id: AirHPhone.php,v 1.4 2003/11/14 07:09:49 kuboa Exp $
//
-require_once('Net/UserAgent/Mobile/Common.php');
-require_once('Net/UserAgent/Mobile/Display.php');
+require_once(dirname(__FILE__) . '/Common.php');
+require_once(dirname(__FILE__) . '/Display.php');
/**
* AirH"PHONE implementation
@@ -49,7 +49,7 @@
* @category Networking
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @access public
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
* @see Net_UserAgent_Mobile_Common
* @link http://www.ddipocket.co.jp/airh_phone/i_hp.html
*/
Index: pear/Net_UserAgent_Mobile/Mobile.php
diff -u pear/Net_UserAgent_Mobile/Mobile.php:1.9 pear/Net_UserAgent_Mobile/Mobile.php:1.10
--- pear/Net_UserAgent_Mobile/Mobile.php:1.9 Sun Oct 12 11:44:12 2003
+++ pear/Net_UserAgent_Mobile/Mobile.php Fri Nov 14 02:10:00 2003
@@ -16,11 +16,11 @@
// | Authors: KUBO Atsuhiro <kubo@isite.co.jp> |
// +----------------------------------------------------------------------+
//
-// $Id: Mobile.php,v 1.9 2003/10/12 15:44:12 kuboa Exp $
+// $Id: Mobile.php,v 1.10 2003/11/14 07:10:00 kuboa Exp $
//
require_once('PEAR.php');
-require_once('Net/UserAgent/Mobile/Request.php');
+require_once(dirname(__FILE__) . '/Mobile/Request.php');
/**
* constants for error handling
@@ -74,7 +74,7 @@
* @category Networking
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @access public
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
class Net_UserAgent_Mobile
{
@@ -123,7 +123,7 @@
(@$matches[3] ? 'EZweb' : 'AirHPhone'));
}
$class_name = "Net_UserAgent_Mobile_{$sub}";
- $include = "Net/UserAgent/Mobile/{$sub}.php";
+ $include = dirname(__FILE__) . "/Mobile/{$sub}.php";
@include_once($include);
if (!class_exists($class_name)) {
@@ -221,7 +221,7 @@
* @category Networking
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @access public
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
class Net_UserAgent_Mobile_Error extends PEAR_Error
{