From 4cc8c959cde55eba40a6c65eb93d3ffafbb79c5b Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 31 Oct 2006 23:28:30 +0000 Subject: [PATCH] - Fixed Bug #39090 DirectoryFilterDots doxygen docs and example is wrong --- ext/spl/examples/directoryfilterdots.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/spl/examples/directoryfilterdots.inc b/ext/spl/examples/directoryfilterdots.inc index cdd8434a26..26896e7cd5 100755 --- a/ext/spl/examples/directoryfilterdots.inc +++ b/ext/spl/examples/directoryfilterdots.inc @@ -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 @@ class DirectoryFilterDots extends RecursiveFilterIterator */ function __construct($path) { - parent::__construct(new DirectoryIterator($path)); + parent::__construct(new RecursiveDirectoryIterator($path)); } /** @return whether the current entry is neither '.' nor '..' -- 2.50.1