fix subPath for RecursiveDirectoryIterator

Another RecursiveDirectoryIterator bug :( This time, subPath was totally wrong. It should only be adding on a little bit each time, not the whole path.
Esse commit está contido em:
Paul Tarjan
2013-07-24 03:00:43 -07:00
commit de Sara Golemon
commit 1c50cde17c
@@ -80,7 +80,7 @@ class RecursiveDirectoryIterator extends FilesystemIterator
if ($child->subPath) {
$child->subPath .= DIRECTORY_SEPARATOR;
}
$child->subPath .= $this->getPathname();
$child->subPath .= $this->getBasename();
return $child;
}