cvs: php-src(PHP_5_3) /ext/spl/examples findfile.inc
| From: | Ilia Alshanetsky | Date: | Wed, 02 Jan 2008 19:19:32 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/spl/examples findfile.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47672@lists.php.net to get a copy of this message | ||
iliaa Wed Jan 2 19:19:32 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/spl/examples findfile.inc
Log:
Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/examples/findfile.inc?r1=1.7&r2=1.7.6.1&diff_format=u
Index: php-src/ext/spl/examples/findfile.inc
diff -u php-src/ext/spl/examples/findfile.inc:1.7 php-src/ext/spl/examples/findfile.inc:1.7.6.1
--- php-src/ext/spl/examples/findfile.inc:1.7 Tue Feb 8 19:10:04 2005
+++ php-src/ext/spl/examples/findfile.inc Wed Jan 2 19:19:31 2008
@@ -33,7 +33,7 @@
function __construct($path, $file)
{
$this->file = $file;
- $list = split(';', $path);
+ $list = split(PATH_SEPARATOR, $path);
if (count($list) <= 1) {
parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
} else {