note 110880 deleted from class.recursivedirectoryiterator by aharvey
| From: | aharvey@php.net | Date: | Wed, 19 Dec 2012 01:19:40 +0000 |
| Subject: | note 110880 deleted from class.recursivedirectoryiterator by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192593@lists.php.net to get a copy of this message | ||
Note Submitter: Unlimited Bits
----
In addition to the UnexpectedValueException note from antennen (thanks for your note - it saved me a
lot of time):
instead of
<?php ...
return parent::getChildren();
... ?>
you should use
<?php ...
return new IgnorantRecursiveDirectoryIterator();
... ?>
because else the standard RecursiveDirectoyIterator is returned and the exception may occur on the
next level.
(maybe one could just changed the other note and delete this? thanks)