cvs: pear /PhpDocumentor/phpDocumentor Setup.inc.php

From: Date: Sun, 30 Mar 2008 23:48:51 +0000
Subject: cvs: pear /PhpDocumentor/phpDocumentor Setup.inc.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-51751@lists.php.net to get a copy of this message
ashnazg Sun Mar 30 23:48:51 2008 UTC Modified files: /pear/PhpDocumentor/phpDocumentor Setup.inc.php Log: fix PEAR #12929 paramete 'ignore' oper mistake http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/phpDocumentor/Setup.inc.php?r1=1.27&r2=1.28&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Setup.inc.php diff -u pear/PhpDocumentor/phpDocumentor/Setup.inc.php:1.27 pear/PhpDocumentor/phpDocumentor/Setup.inc.php:1.28 --- pear/PhpDocumentor/phpDocumentor/Setup.inc.php:1.27 Sun Dec 9 23:40:07 2007 +++ pear/PhpDocumentor/phpDocumentor/Setup.inc.php Sun Mar 30 23:48:51 2008 @@ -29,7 +29,7 @@ * @author Gregory Beaver <cellog@php.net> * @copyright 2002-2006 Gregory Beaver * @license http://www.opensource.org/licenses/lgpl-license.php LGPL - * @version CVS: $Id: Setup.inc.php,v 1.27 2007/12/09 23:40:07 ashnazg Exp $ + * @version CVS: $Id: Setup.inc.php,v 1.28 2008/03/30 23:48:51 ashnazg Exp $ * @link http://www.phpdoc.org * @link http://pear.php.net/PhpDocumentor * @since 1.2 @@ -626,6 +626,7 @@ $file = strtr($file, '\\', '/'); // file's subpath, relative to $dir $file_subpath = str_replace('\\', '/', realpath(dirname($file))); + $file_subpath = preg_replace('[\\/]', DIRECTORY_SEPARATOR, $file_subpath); $file_subpath = preg_replace('~^' . preg_quote($dir, '~') . '~', '', $file_subpath); if (!$this->setup->checkIgnore(basename($file), $file_subpath, $this->ignore_files,true,$this->ignoresymlinks))

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