From 9409f28393d31ff101b874bac725024cf732bb3d Mon Sep 17 00:00:00 2001 From: lukinovec Date: Wed, 28 Sep 2022 09:27:23 +0200 Subject: [PATCH] Update `Storage` facade section --- source/docs/v3/tenancy-bootstrappers.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/v3/tenancy-bootstrappers.blade.md b/source/docs/v3/tenancy-bootstrappers.blade.md index df39dc1..71ea376 100644 --- a/source/docs/v3/tenancy-bootstrappers.blade.md +++ b/source/docs/v3/tenancy-bootstrappers.blade.md @@ -63,7 +63,7 @@ The root of each disk listed in `config('tenancy.filesystem.disks')` will be suf ], ``` -To make the tenant-aware `Storage` facade work with a custom disk, add the disk's name to `config('tenancy.filesystem.disks')` and override its root in `config('tenancy.filesystem.root_override')` as shown above. +To make the tenant-aware `Storage` facade work with a custom disk, add the disk's name to `config('tenancy.filesystem.disks')` and if the disk is local, override its root in `config('tenancy.filesystem.root_override')` as shown above. With S3, overriding the disk roots is not necessary – `Storage::disk('s3')->path('foo.txt')` will return `/tenant42/foo.txt`. ### Assets