From 428bce896a4e143b7187f9a88bdc66f4181975a9 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 28 Jul 2022 10:16:55 +0200 Subject: [PATCH] Update config comments --- assets/config.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/config.php b/assets/config.php index fbd4ab06..52150c61 100644 --- a/assets/config.php +++ b/assets/config.php @@ -119,12 +119,12 @@ return [ ], /* - * Use this to support Storage url method on local driver disks. - * You should create a symbolic link which points to the public directory using command: artisan tenants:link - * Then you can use tenant aware Storage url: Storage::disk('public')->url('file.jpg') + * This makes local driver disks support tenant-aware Storage::disk()->url(). + * Use `php artisan tenants:link` to create a symbolic link from the tenant's storage to his public directory. */ '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%', ],