summaryrefslogtreecommitdiff
path: root/pear/PEAR/Remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR/Remote.php')
-rw-r--r--pear/PEAR/Remote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pear/PEAR/Remote.php b/pear/PEAR/Remote.php
index 1da25f0815..8becb4e70f 100644
--- a/pear/PEAR/Remote.php
+++ b/pear/PEAR/Remote.php
@@ -115,9 +115,9 @@ class PEAR_Remote extends PEAR
$this->saveCache($_args, $result);
};
return $result;
- } else {
- return $this->raiseError("For this remote PEAR operation you need to load the xmlrpc extension");
}
+ if (!@include_once("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');