diff options
-rw-r--r-- | pear/PEAR/Common.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index 460e210838..d0e8bb0b75 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -255,7 +255,7 @@ class PEAR_Common extends PEAR function infoFromDescriptionFile($descfile) { - if (!is_file($descfile) || !is_readable($descfile) || + if (!@is_file($descfile) || !is_readable($descfile) || (!$fp = @fopen($descfile, 'r'))) { return $this->raiseError("Unable to open $descfile"); } @@ -291,6 +291,7 @@ class PEAR_Common extends PEAR $this->pkginfo[$k] = trim($v); } $this->pkginfo['filelist'] = &$this->filelist; + //print_r($this->pkginfo);exit; return $this->pkginfo; } |