cvs: pear /PHPDoc/filehandler PhpdocFileHandler.php
| From: | Derick Rethans | Date: | Sun, 25 Aug 2002 13:46:06 +0000 |
| Subject: | cvs: pear /PHPDoc/filehandler PhpdocFileHandler.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5956@lists.php.net to get a copy of this message | ||
derick Sun Aug 25 09:46:06 2002 EDT
Modified files:
/pear/PHPDoc/filehandler PhpdocFileHandler.php
Log:
- Allow none readable subdirectories (patch by Jeroen Derks
<jeroen@derks.it>)
Index: pear/PHPDoc/filehandler/PhpdocFileHandler.php
diff -u pear/PHPDoc/filehandler/PhpdocFileHandler.php:1.3
pear/PHPDoc/filehandler/PhpdocFileHandler.php:1.4
--- pear/PHPDoc/filehandler/PhpdocFileHandler.php:1.3 Fri Jul 26 10:49:39 2002
+++ pear/PHPDoc/filehandler/PhpdocFileHandler.php Sun Aug 25 09:46:05 2002
@@ -2,7 +2,7 @@
/**
* File handling functions in phpdoc.
*
-* @version $Id: PhpdocFileHandler.php,v 1.3 2002/07/26 14:49:39 derick Exp $
+* @version $Id: PhpdocFileHandler.php,v 1.4 2002/08/25 13:46:05 derick Exp $
* @author Ulf Wendel <ulf@redsys.de>
*/
class PhpdocFileHandler extends PhpdocObject {
@@ -179,7 +179,7 @@
$dh = @opendir($directory);
if (!$dh) {
$this->err[] = new PhpdocError("Can't open '$directory' for
reading.", __FILE__, __LINE__);
- return array();
+ return $files;
}
while ($file = readdir($dh)) {