From ced9a91801714c08e7882ea802ae657f135e56a6 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 27 Sep 2022 11:51:01 +0200 Subject: [PATCH] Use the actual suffix instead of the $suffix variable again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Samuel Ć tancl --- source/docs/v3/tenancy-bootstrappers.blade.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/docs/v3/tenancy-bootstrappers.blade.md b/source/docs/v3/tenancy-bootstrappers.blade.md index c50052b..a60773b 100644 --- a/source/docs/v3/tenancy-bootstrappers.blade.md +++ b/source/docs/v3/tenancy-bootstrappers.blade.md @@ -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/',