Skip to content

Commit c6bbc44

Browse files
[5.x] Revert "AssetContainer::accessible() should take filesystem visibility into account" (#13673)
1 parent 7b7bddf commit c6bbc44

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Assets/AssetContainer.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,7 @@ public function assetFolder($path)
489489
*/
490490
public function accessible()
491491
{
492-
$config = $this->disk()->filesystem()->getConfig();
493-
494-
return Arr::get($config, 'url') !== null
495-
&& Arr::get($config, 'visibility', 'public') === 'public';
492+
return Arr::get($this->disk()->filesystem()->getConfig(), 'url') !== null;
496493
}
497494

498495
/**

0 commit comments

Comments
 (0)