Skip to content
Draft
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Illuminate/Filesystem/FilesystemAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ public function writeStream($path, $resource, array $options = [])
*/
public function url($path)
{
if (isset($this->config['prefix'])) {
if (isset($this->config['prefix']) && ! empty($this->config['prefix'])) {
$path = $this->concatPathToUrl($this->config['prefix'], $path);
}

Expand Down