cvs: pear-core /PEAR Remote.php
| From: | Pierre-Alain Joye | Date: | Thu, 18 Aug 2005 09:58:06 +0000 |
| Subject: | cvs: pear-core /PEAR Remote.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-34097@lists.php.net to get a copy of this message | ||
pajoye Thu Aug 18 05:58:06 2005 EDT
Modified files:
/pear-core/PEAR Remote.php
Log:
- make that really work, it does now: ext/xmlrpc? useit : try to include
http://cvs.php.net/diff.php/pear-core/PEAR/Remote.php?r1=1.72&r2=1.73&ty=u
Index: pear-core/PEAR/Remote.php
diff -u pear-core/PEAR/Remote.php:1.72 pear-core/PEAR/Remote.php:1.73
--- pear-core/PEAR/Remote.php:1.72 Thu Aug 11 17:51:17 2005
+++ pear-core/PEAR/Remote.php Thu Aug 18 05:58:04 2005
@@ -16,7 +16,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Remote.php,v 1.72 2005/08/11 21:51:17 pajoye Exp $
+ * @version CVS: $Id: Remote.php,v 1.73 2005/08/18 09:58:04 pajoye Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -183,8 +183,8 @@
$this->saveCache($_args, $result);
}
return $result;
- } else {
- return $this->raiseError("For this remote PEAR operation you need to load the
xmlrpc extension");
+ } elseif (!@include_once 'XML/RPC.php') {
+ return $this->raiseError("For this remote PEAR operation you need to load the
xmlrpc extension or install XML_RPC");
}
array_shift($args);