mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
- fix bad revert and make the xmlrpc ext detections fallback
forgot that 5.1 still has pear in its branche
This commit is contained in:
parent
b31ff96be9
commit
f7ef84c32d
1 changed files with 3 additions and 2 deletions
|
@ -115,9 +115,10 @@ class PEAR_Remote extends PEAR
|
||||||
$this->saveCache($_args, $result);
|
$this->saveCache($_args, $result);
|
||||||
};
|
};
|
||||||
return $result;
|
return $result;
|
||||||
|
} else {
|
||||||
|
return $this->raiseError("For this remote PEAR operation you need to load the xmlrpc extension or install XML_RPC");
|
||||||
}
|
}
|
||||||
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);
|
array_shift($args);
|
||||||
$server_host = $this->config->get('master_server');
|
$server_host = $this->config->get('master_server');
|
||||||
$username = $this->config->get('username');
|
$username = $this->config->get('username');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue