mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
Update config comments
This commit is contained in:
parent
ea6e59e8dd
commit
428bce896a
1 changed files with 4 additions and 4 deletions
|
|
@ -119,12 +119,12 @@ return [
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use this to support Storage url method on local driver disks.
|
* This makes local driver disks support tenant-aware Storage::disk()->url().
|
||||||
* You should create a symbolic link which points to the public directory using command: artisan tenants:link
|
* Use `php artisan tenants:link` to create a symbolic link from the tenant's storage to his public directory.
|
||||||
* Then you can use tenant aware Storage url: Storage::disk('public')->url('file.jpg')
|
|
||||||
*/
|
*/
|
||||||
'url_override' => [
|
'url_override' => [
|
||||||
// The array key is local disk (must exist in root_override) and value is public directory (%tenant_id% will be replaced with actual tenant id).
|
// 'local disk' => 'public directory' (%tenant_id% will be replaced with actual tenant id)
|
||||||
|
// The local disk must exist in the tenancy.filesystem.root_override config
|
||||||
'public' => 'public-%tenant_id%',
|
'public' => 'public-%tenant_id%',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue