Skip to content

Commit 2f40e95

Browse files
committed
Use ChunkStorage disk prefix instead disk driver
1 parent 87f734d commit 2f40e95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ChunkFile.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ public function getPath()
5050

5151
public function getAbsolutePath()
5252
{
53-
return $this->storage->disk()->getDriver()->getAdapter()->getPathPrefix() . $this->path;
53+
$pathPrefix = $this->storage->getDiskPathPrefix();
54+
55+
return $pathPrefix.'/'.$this->path;
5456
}
5557

5658
/**

0 commit comments

Comments
 (0)