1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:14:04 +00:00
This commit is contained in:
Samuel Štancl 2021-12-13 13:09:16 +01:00
parent f12c826df5
commit 9883219544
4 changed files with 17 additions and 13 deletions

View file

@ -57,6 +57,9 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
foreach ($this->app['config']['tenancy.filesystem.disks'] as $disk) {
/** @var FilesystemAdapter $filesystemDisk */
$filesystemDisk = Storage::disk($disk);
// todo0 @v4 \League\Flysystem\PathPrefixer is making this a lot more painful in flysystem v2
$this->originalPaths['disks'][$disk] = $filesystemDisk->getAdapter()->getPathPrefix();
if ($root = str_replace(