mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 17:04:03 +00:00
build prefix using original prefix
This commit is contained in:
parent
387a10b918
commit
169a7f7cc9
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
|
||||||
$this->originalPrefix = $this->config->get('cache.prefix');
|
$this->originalPrefix = $this->config->get('cache.prefix');
|
||||||
$this->storeName = $this->config->get('cache.default');
|
$this->storeName = $this->config->get('cache.default');
|
||||||
|
|
||||||
$this->setCachePrefix($this->config->get('tenancy.cache.prefix_base') . $tenant->getTenantKey());
|
$this->setCachePrefix($this->originalPrefix . $this->config->get('tenancy.cache.prefix_base') . $tenant->getTenantKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function revert(): void
|
public function revert(): void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue