1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")

This commit is contained in:
Ilia Alshanetsky
2008-01-02 19:19:45 +00:00
parent b557b24683
commit 66b9bc29dc
+1 -1
View File
@@ -33,7 +33,7 @@ class FindFile extends FilterIterator
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 {