mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
This commit is contained in:
parent
93264ecc32
commit
fc74136a90
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class FindFile extends FilterIterator
|
||||||
function __construct($path, $file)
|
function __construct($path, $file)
|
||||||
{
|
{
|
||||||
$this->file = $file;
|
$this->file = $file;
|
||||||
$list = split(';', $path);
|
$list = split(PATH_SEPARATOR, $path);
|
||||||
if (count($list) <= 1) {
|
if (count($list) <= 1) {
|
||||||
parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
|
parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue