Skip to content

Commit 870bc7d

Browse files
committed
add directory visibility
1 parent 069b2e3 commit 870bc7d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Illuminate/Filesystem/FilesystemManager.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,13 @@ protected function formatS3Config(array $config)
271271
*/
272272
protected function createFlysystem(FlysystemAdapter $adapter, array $config)
273273
{
274-
$config = Arr::only($config, ['visibility', 'disable_asserts', 'url', 'temporary_url']);
275-
276-
return new Flysystem($adapter, $config);
274+
return new Flysystem($adapter, Arr::only($config, [
275+
'directory_visibility',
276+
'disable_asserts',
277+
'temporary_url',
278+
'url',
279+
'visibility',
280+
]));
277281
}
278282

279283
/**

0 commit comments

Comments
 (0)