Skip to content

Commit

Permalink
fixup! when downloading from web, skip files that are not accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz committed Dec 17, 2019
1 parent 4375528 commit 9cd969b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Streamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function addDirRecursive(string $dir, string $internalDir = ''): void {
fclose($fh);
} elseif ($file instanceof Folder) {
if($file->isReadable()) {
$this->addDirRecursive($file->getName(), $internalDir);
$this->addDirRecursive($dir . '/' . $file->getName(), $internalDir);
}
}
}
Expand Down

0 comments on commit 9cd969b

Please sign in to comment.