mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
Use the actual suffix instead of the $suffix variable again
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
34bb54c67e
commit
ced9a91801
1 changed files with 2 additions and 1 deletions
|
|
@ -55,7 +55,8 @@ The root of each disk listed in `config('tenancy.filesystem.disks')` will be suf
|
|||
```php
|
||||
// Tenancy config (tenancy.filesystem.root_override)
|
||||
// %storage_path% gets replaced by storage_path()'s output
|
||||
// E.g. Storage::disk('local')->path('') will return "/$path_to_your_application/storage/$suffix/app"
|
||||
// E.g. Storage::disk('local')->path('') will return "/$path_to_your_application/storage/tenant42/app"
|
||||
// (Given a suffix_base of 'tenant' and a tenant with an ID of 42. Same as in the example above in the Storage path helper section)
|
||||
'root_override' => [
|
||||
'local' => '%storage_path%/app/',
|
||||
'public' => '%storage_path%/app/public/',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue