From 66b9bc29dc70212fe39aaa8e05930b672ffdf701 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 2 Jan 2008 19:19:45 +0000 Subject: [PATCH] MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";") --- ext/spl/examples/findfile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.50.1