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:
parent
49ebb75f00
commit
5026f54a6d
6 changed files with 23 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue