diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2008-01-02 19:19:45 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2008-01-02 19:19:45 +0000 |
commit | 66b9bc29dc70212fe39aaa8e05930b672ffdf701 (patch) | |
tree | 7281aa15e8a3b4d7f57bd687a19ad529f9a4b71d | |
parent | b557b24683e40f713e988193b93ff75fa5a62d3f (diff) | |
download | php-git-66b9bc29dc70212fe39aaa8e05930b672ffdf701.tar.gz |
MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
-rwxr-xr-x | ext/spl/examples/findfile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/examples/findfile.inc b/ext/spl/examples/findfile.inc index f59bac716b..392cfd4746 100755 --- a/ext/spl/examples/findfile.inc +++ b/ext/spl/examples/findfile.inc @@ -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 { |