helly           Tue Oct 31 23:28:30 2006 UTC

  Modified files:              
    /php-src/ext/spl/examples   directoryfilterdots.inc 
  Log:
  - Fixed Bug #39090 DirectoryFilterDots doxygen docs and example is wrong 
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/examples/directoryfilterdots.inc?r1=1.7&r2=1.8&diff_format=u
Index: php-src/ext/spl/examples/directoryfilterdots.inc
diff -u php-src/ext/spl/examples/directoryfilterdots.inc:1.7 
php-src/ext/spl/examples/directoryfilterdots.inc:1.8
--- php-src/ext/spl/examples/directoryfilterdots.inc:1.7        Tue Feb 21 
23:21:53 2006
+++ php-src/ext/spl/examples/directoryfilterdots.inc    Tue Oct 31 23:28:30 2006
@@ -12,7 +12,7 @@
 /** @ingroup Examples
  * @brief   A filtered DirectoryIterator
  * @author  Marcus Boerger
- * @version 1.1
+ * @version 1.2
  *
  * This Iteraotr takes a pathname from which it creates a DirectoryIterator
  * and makes it recursive. Further more it filters the entries '.' and '..'.
@@ -24,7 +24,7 @@
         */
        function __construct($path)
        {
-               parent::__construct(new DirectoryIterator($path));
+               parent::__construct(new RecursiveDirectoryIterator($path));
        }
 
        /** @return whether the current entry is neither '.' nor '..'

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

Reply via email to