From ff04013644a6a1ad2afa40f011ed89d7a9ba49e3 Mon Sep 17 00:00:00 2001 From: Vincent GS Date: Fri, 4 Mar 2022 02:10:09 -0600 Subject: [PATCH] Missing missing updates Moving from $subject to $root when %storage_path% has been replaced --- src/Bootstrappers/FilesystemTenancyBootstrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bootstrappers/FilesystemTenancyBootstrapper.php b/src/Bootstrappers/FilesystemTenancyBootstrapper.php index b1d0b147..33d98030 100644 --- a/src/Bootstrappers/FilesystemTenancyBootstrapper.php +++ b/src/Bootstrappers/FilesystemTenancyBootstrapper.php @@ -65,7 +65,7 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper storage_path(), $subject )) { - $root = str_replace('%tenant%', $suffix, $subject); + $root = str_replace('%tenant%', $suffix, $root); $filesystemDisk->getAdapter()->setPathPrefix($finalPrefix = $root); } else { $root = $this->app['config']["filesystems.disks.{$disk}.root"];