diff options
Diffstat (limited to 'ext/spl/examples/findfile.inc')
-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 { |