diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2008-01-02 19:20:15 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2008-01-02 19:20:15 +0000 |
| commit | 02967f7040f493192b71908a5dc47f83e6a18531 (patch) | |
| tree | 671c7e374d01260a92453f9d90b5961941a3367c /ext | |
| parent | 660fac9dc03b78acdf2efd1c44c876c5ae80c82b (diff) | |
| download | php-git-02967f7040f493192b71908a5dc47f83e6a18531.tar.gz | |
MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
Diffstat (limited to 'ext')
| -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 05d525a3fb..02ab792433 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 { |
