cvs: php4 /pear/PEAR Common.php

From: Date: Sat, 11 Aug 2001 16:11:49 +0000
Subject: cvs: php4 /pear/PEAR Common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-467@lists.php.net to get a copy of this message
cox Sat Aug 11 12:11:49 2001 EDT Modified files: /php4/pear/PEAR Common.php Log: don't show is_file() stat errors Index: php4/pear/PEAR/Common.php diff -u php4/pear/PEAR/Common.php:1.6 php4/pear/PEAR/Common.php:1.7 --- php4/pear/PEAR/Common.php:1.6 Thu Jul 19 06:32:06 2001 +++ php4/pear/PEAR/Common.php Sat Aug 11 12:11:49 2001 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.6 2001/07/19 10:32:06 cox Exp $ +// $Id: Common.php,v 1.7 2001/08/11 16:11:49 cox Exp $ require_once 'PEAR.php'; @@ -255,7 +255,7 @@ 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 @@ $this->pkginfo[$k] = trim($v); } $this->pkginfo['filelist'] = &$this->filelist; + //print_r($this->pkginfo);exit; return $this->pkginfo; }

« previous php.pear.cvs (#467) next »