*/
function PEAR_Common()
{
- $this->PEAR();
+ parent::PEAR();
$this->config = &PEAR_Config::singleton();
}
} elseif ($tmp == '.tar' || $tmp == '.tgz') {
$info = $this->infoFromTgzFile($info);
} else {
- $fp = fopen($params[0], "r");
+ $fp = fopen($info, "r");
$test = fread($fp, 5);
fclose($fp);
if ($test == "<?xml") {
- $info = $obj->infoFromDescriptionFile($info);
+ $info = $this->infoFromDescriptionFile($info);
} else {
- $info = $obj->infoFromTgzFile($info);
+ $info = $this->infoFromTgzFile($info);
}
}
if (PEAR::isError($info)) {