summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2001-08-11 16:11:49 +0000
committerTomas V.V.Cox <cox@php.net>2001-08-11 16:11:49 +0000
commit9ca706e8abe3ccc178d046f2271c1c85cdde08e4 (patch)
tree5d1e4964033d6b2c6cd02a35eb0788917066d449
parent4f6c95d17abdd3aa983b36117f8a9c67405540e6 (diff)
downloadphp-git-9ca706e8abe3ccc178d046f2271c1c85cdde08e4.tar.gz
don't show is_file() stat errors
-rw-r--r--pear/PEAR/Common.php3
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;
}