iliaa Wed Jan 2 19:19:32 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/spl/examples findfile.inc
Log:
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.7&r2=1.7.6.1&diff_format=u
Index: php-src/ext/spl/examples/findfile.inc
diff -u php-src/ext/spl/examples/findfile.inc:1.7
php-src/ext/spl/examples/findfile.inc:1.7.6.1
--- php-src/ext/spl/examples/findfile.inc:1.7 Tue Feb 8 19:10:04 2005
+++ php-src/ext/spl/examples/findfile.inc Wed Jan 2 19:19:31 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 {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php