cvs: php-src /ext/spl/examples findfile.inc
| From: | Ilia Alshanetsky | Date: | Wed, 02 Jan 2008 19:19:45 +0000 |
| Subject: | cvs: php-src /ext/spl/examples findfile.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47673@lists.php.net to get a copy of this message | ||
iliaa Wed Jan 2 19:19:45 2008 UTC
Modified files:
/php-src/ext/spl/examples findfile.inc
Log:
MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/examples/findfile.inc?r1=1.8&r2=1.9&diff_format=u
Index: php-src/ext/spl/examples/findfile.inc
diff -u php-src/ext/spl/examples/findfile.inc:1.8 php-src/ext/spl/examples/findfile.inc:1.9
--- php-src/ext/spl/examples/findfile.inc:1.8 Tue Feb 21 23:21:53 2006
+++ php-src/ext/spl/examples/findfile.inc Wed Jan 2 19:19:45 2008
@@ -33,7 +33,7 @@
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 {