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 {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to