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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário