Skip to content

Commit 9ca706e

Browse files
committedAug 11, 2001
don't show is_file() stat errors
1 parent 4f6c95d commit 9ca706e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎pear/PEAR/Common.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function _pkginfo_cdata($xp, $data)
255255

256256
function infoFromDescriptionFile($descfile)
257257
{
258-
if (!is_file($descfile) || !is_readable($descfile) ||
258+
if (!@is_file($descfile) || !is_readable($descfile) ||
259259
(!$fp = @fopen($descfile, 'r'))) {
260260
return $this->raiseError("Unable to open $descfile");
261261
}
@@ -291,6 +291,7 @@ function infoFromDescriptionFile($descfile)
291291
$this->pkginfo[$k] = trim($v);
292292
}
293293
$this->pkginfo['filelist'] = &$this->filelist;
294+
//print_r($this->pkginfo);exit;
294295
return $this->pkginfo;
295296
}
296297

0 commit comments

Comments
 (0)