summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2008-01-02 19:19:31 +0000
committerIlia Alshanetsky <iliaa@php.net>2008-01-02 19:19:31 +0000
commitfc74136a9066693c9fb9c51f085b2af1f8bbae5c (patch)
treee326a23b868d38259f8f9bb561840050d3bddbff /ext
parent93264ecc32cdad5a4011821ae01b3e519db8fa4a (diff)
downloadphp-git-fc74136a9066693c9fb9c51f085b2af1f8bbae5c.tar.gz
Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
Diffstat (limited to 'ext')
-rwxr-xr-xext/spl/examples/findfile.inc2
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 {