cvs: pear /PhpDocumentor/phpDocumentor Io.inc
| From: | Greg Beaver | Date: | Sun, 20 Nov 2005 21:20:23 +0000 |
| Subject: | cvs: pear /PhpDocumentor/phpDocumentor Io.inc | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36414@lists.php.net to get a copy of this message | ||
cellog Sun Nov 20 16:20:23 2005 EDT
Modified files:
/pear/PhpDocumentor/phpDocumentor Io.inc
Log:
remove notice if no files are found for parsing
http://cvs.php.net/diff.php/pear/PhpDocumentor/phpDocumentor/Io.inc?r1=1.4&r2=1.5&ty=u
Index: pear/PhpDocumentor/phpDocumentor/Io.inc
diff -u pear/PhpDocumentor/phpDocumentor/Io.inc:1.4 pear/PhpDocumentor/phpDocumentor/Io.inc:1.5
--- pear/PhpDocumentor/phpDocumentor/Io.inc:1.4 Fri Nov 18 19:32:58 2005
+++ pear/PhpDocumentor/phpDocumentor/Io.inc Sun Nov 20 16:20:22 2005
@@ -21,14 +21,14 @@
* Class to handle file and user io opperations
*
* @author Joshua Eichorn <jeichorn@phpdoc.org>
- * @version $Id: Io.inc,v 1.4 2005/11/19 00:32:58 cellog Exp $
+ * @version $Id: Io.inc,v 1.5 2005/11/20 21:20:22 cellog Exp $
* @package phpDocumentor
*/
/**
* Class to handle file and user io opperations
*
* @author Joshua Eichorn <jeichorn@phpdoc.org>
- * @version $Id: Io.inc,v 1.4 2005/11/19 00:32:58 cellog Exp $
+ * @version $Id: Io.inc,v 1.5 2005/11/20 21:20:22 cellog Exp $
* @package phpDocumentor
*/
class Io
@@ -351,9 +351,10 @@
*/
function getBase($filelist)
{
+ $masterPath = false;
foreach($filelist as $path)
{
- if (!isset($masterPath))
+ if (!$masterPath)
{
$masterPath = str_replace('\\','/',dirname($path));
} else