Fix PEAR loading, fixes #590
parent
5541b52530
commit
a5e00a9e96
|
@ -108,7 +108,7 @@ class PearRepository extends ArrayRepository
|
||||||
$categories = $categoryXML->getElementsByTagName("c");
|
$categories = $categoryXML->getElementsByTagName("c");
|
||||||
|
|
||||||
foreach ($categories as $category) {
|
foreach ($categories as $category) {
|
||||||
$link = $this->baseUrl . '/c/' . $category->nodeValue;
|
$link = $this->baseUrl . '/c/' . str_replace(' ', '+', $category->nodeValue);
|
||||||
try {
|
try {
|
||||||
$packagesLink = $link . "/packagesinfo.xml";
|
$packagesLink = $link . "/packagesinfo.xml";
|
||||||
$this->fetchPear2Packages($packagesLink);
|
$this->fetchPear2Packages($packagesLink);
|
||||||
|
|
Loading…
Reference in New Issue