mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Use the actual suffix instead of the $suffix variable
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
f7a0ca4011
commit
508cbeb168
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ The filesystem bootstrapper makes your app's `storage_path()` and `asset()` help
|
|||
The bootstrapper suffixes the path retrieved by `storage_path()` to make the helper tenant-aware.
|
||||
|
||||
- The suffix is built by appending the tenant key to your `suffix_base`. The `suffix_base` is `tenant` by default, but feel free to change it in the `tenancy.filesystem` config. For example, the suffix will be `tenant42` if the tenant's key is `42` and the `suffix_base` is `tenant`.
|
||||
- After the suffixing, `storage_path()` helper returns `"/$path_to_your_application/storage/$suffix/"`
|
||||
- After the suffixing, `storage_path()` helper returns `"/$path_to_your_application/storage/tenant42/"`
|
||||
|
||||
Since `storage_path()` will be suffixed, your folder structure will look like this:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue