mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:54:05 +00:00
Update FilesystemTenancyBootstrapper.php
This commit is contained in:
parent
6915f67199
commit
160f887fe4
1 changed files with 2 additions and 2 deletions
|
|
@ -36,11 +36,11 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
|||
|
||||
public function bootstrap(Tenant $tenant)
|
||||
{
|
||||
$storage_base = $this->app['config']['tenancy.filesystem.storage_base'] . $tenant->getTenantKey();
|
||||
$storage = $this->app['config']['tenancy.filesystem.storage_base'] . $tenant->getTenantKey();
|
||||
|
||||
// storage_path()
|
||||
if ($this->app['config']['tenancy.filesystem.suffix_storage_path'] ?? true) {
|
||||
$this->app->useStoragePath($this->originalPaths['storage'] . "/{$storage_base}");
|
||||
$this->app->useStoragePath($this->originalPaths['storage'] . "/{$storage}");
|
||||
}
|
||||
|
||||
// asset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue