]> granicus.if.org Git - php/commitdiff
Temp fix for ctor signature until inheritance fix is complete
authorMarcus Boerger <helly@php.net>
Wed, 25 Feb 2004 20:38:56 +0000 (20:38 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 25 Feb 2004 20:38:56 +0000 (20:38 +0000)
ext/spl/examples/directorytreeiterator.inc

index 13253d9a5284bed7f3903d3807c94860da1e7b72..1e81caa01bdd8e246d4aa1a958f68f5e0d977c72 100644 (file)
@@ -2,8 +2,9 @@
 
 class DirectoryTreeIterator extends RecursiveIteratorIterator
 {
-       function __construct($path)
+       function __construct($path, $mode)
        {
+               // ignore $mode
                parent::__construct(new CachingRecursiveIterator(new RecursiveDirectoryIterator($path), CIT_CALL_TOSTRING|CIT_CATCH_GET_CHILD), 1);
        }