mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
Missing missing updates
Moving from $subject to $root when %storage_path% has been replaced
This commit is contained in:
parent
a2c8218e6a
commit
ff04013644
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
||||||
storage_path(),
|
storage_path(),
|
||||||
$subject
|
$subject
|
||||||
)) {
|
)) {
|
||||||
$root = str_replace('%tenant%', $suffix, $subject);
|
$root = str_replace('%tenant%', $suffix, $root);
|
||||||
$filesystemDisk->getAdapter()->setPathPrefix($finalPrefix = $root);
|
$filesystemDisk->getAdapter()->setPathPrefix($finalPrefix = $root);
|
||||||
} else {
|
} else {
|
||||||
$root = $this->app['config']["filesystems.disks.{$disk}.root"];
|
$root = $this->app['config']["filesystems.disks.{$disk}.root"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue