We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85aaa1f + 91da338 commit ea70913Copy full SHA for ea70913
src/Adapter/Filesystem/Satellite.php
@@ -48,6 +48,10 @@ public function build(
48
fclose($stream);
49
}
50
} else {
51
+ $dirname = \dirname($this->workdir.'/'.$file->getPath());
52
+ if (!file_exists($dirname)) {
53
+ mkdir($dirname, 0o755, true);
54
+ }
55
$stream = fopen($this->workdir.'/'.$file->getPath(), 'wb');
56
stream_copy_to_stream($file->asResource(), $stream);
57
0 commit comments