pajoye Thu Aug 18 17:29:31 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/pear/PEAR Remote.php
Log:
- fix bad revert and make the xmlrpc ext detections fallback
forgot that 5.1 still has pear in its branche
http://cvs.php.net/diff.php/php-src/pear/PEAR/Remote.php?r1=1.50.4.2&r2=1.50.4.3&ty=u
Index: php-src/pear/PEAR/Remote.php
diff -u php-src/pear/PEAR/Remote.php:1.50.4.2
php-src/pear/PEAR/Remote.php:1.50.4.3
--- php-src/pear/PEAR/Remote.php:1.50.4.2 Wed Aug 17 17:30:45 2005
+++ php-src/pear/PEAR/Remote.php Thu Aug 18 17:29:28 2005
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <[EMAIL PROTECTED]>
|
// +----------------------------------------------------------------------+
//
-// $Id: Remote.php,v 1.50.4.2 2005/08/17 21:30:45 cellog Exp $
+// $Id: Remote.php,v 1.50.4.3 2005/08/18 21:29:28 pajoye Exp $
require_once 'PEAR.php';
require_once 'PEAR/Config.php';
@@ -115,9 +115,10 @@
$this->saveCache($_args, $result);
};
return $result;
+ } else {
+ return $this->raiseError("For this remote PEAR operation you need
to load the xmlrpc extension or install XML_RPC");
}
- if ([EMAIL PROTECTED]("XML/RPC.php")) {
- return $this->raiseError("For this remote PEAR operation you need
to install the XML_RPC package");
+
array_shift($args);
$server_host = $this->config->get('master_server');
$username = $this->config->get('username');
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php