diff options
| author | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:39:08 -0400 |
|---|---|---|
| committer | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:39:08 -0400 |
| commit | 993e1866df547532a05ab6db76c9ff5aefc9a3df (patch) | |
| tree | 169d3bde0974235d3cde164786ef6f381a4749a7 /ext/spl/examples | |
| parent | 1f589a2bd44ba835ad1b009a5d83abd453724829 (diff) | |
| download | php-993e1866df547532a05ab6db76c9ff5aefc9a3df.tar.gz | |
Imported Upstream version 5.2.6upstream/5.2.6
Diffstat (limited to 'ext/spl/examples')
| -rwxr-xr-x | ext/spl/examples/findfile.inc | 2 | ||||
| -rwxr-xr-x | ext/spl/examples/tree.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/examples/findfile.inc b/ext/spl/examples/findfile.inc index 05d525a3f..02ab79243 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 { diff --git a/ext/spl/examples/tree.php b/ext/spl/examples/tree.php index 6005263cc..7c630e823 100755 --- a/ext/spl/examples/tree.php +++ b/ext/spl/examples/tree.php @@ -37,4 +37,4 @@ foreach(new DirectoryGraphIterator($argv[1]) as $file) echo $file . "\n";
}
-?>
\ No newline at end of file +?>
|
