cvs: pear /PhpDocumentor/phpDocumentor Io.inc

From: Date: Fri, 18 Nov 2005 06:51:52 +0000
Subject: cvs: pear /PhpDocumentor/phpDocumentor Io.inc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36358@lists.php.net to get a copy of this message
drewish Fri Nov 18 01:51:52 2005 EDT Modified files: /pear/PhpDocumentor/phpDocumentor Io.inc Log: * Fixed a typo, I'd used () instead of [] when accessing array elements. http://cvs.php.net/diff.php/pear/PhpDocumentor/phpDocumentor/Io.inc?r1=1.2&r2=1.3&ty=u Index: pear/PhpDocumentor/phpDocumentor/Io.inc diff -u pear/PhpDocumentor/phpDocumentor/Io.inc:1.2 pear/PhpDocumentor/phpDocumentor/Io.inc:1.3 --- pear/PhpDocumentor/phpDocumentor/Io.inc:1.2 Thu Nov 17 17:26:11 2005 +++ pear/PhpDocumentor/phpDocumentor/Io.inc Fri Nov 18 01:51:49 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.2 2005/11/17 22:26:11 drewish Exp $ + * @version $Id: Io.inc,v 1.3 2005/11/18 06:51:49 drewish Exp $ * @package phpDocumentor */ /** * Class to handle file and user io opperations * * @author Joshua Eichorn <jeichorn@phpdoc.org> - * @version $Id: Io.inc,v 1.2 2005/11/17 22:26:11 drewish Exp $ + * @version $Id: Io.inc,v 1.3 2005/11/18 06:51:49 drewish Exp $ * @package phpDocumentor */ class Io @@ -468,7 +468,7 @@ $path = substr(dirname($file),strlen(str_replace('\\','/',realpath($base_dir)))+1); if (!$path) $path = '/'; $parts = pathinfo($file); - $struc[$path][] = array('file' => $parts('basename'),'ext' => $parts('extension'),'path' => $file); + $struc[$path][] = array('file' => $parts['basename'],'ext' => $parts['extension'],'path' => $file); } uksort($struc,'strnatcasecmp'); foreach($struc as $key => $ind)

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