1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:44:04 +00:00

fix path prefixing

This commit is contained in:
Samuel Štancl 2022-03-23 20:48:55 +01:00
parent 49ebb75f00
commit 5026f54a6d
6 changed files with 23 additions and 3 deletions

View file

@ -67,7 +67,9 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
);
if (! $finalPrefix) {
$finalPrefix = $originalRoot . '/'. $suffix;
$finalPrefix = $originalRoot
? $originalRoot . '/'. $suffix
: $suffix;
}
$this->app['config']["filesystems.disks.{$disk}.root"] = $finalPrefix;