From 79484cac09b90962c89c6061bc5ea2e7f83a4e91 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Wed, 19 Aug 2026 10:53:33 +0200 Subject: [PATCH] Make the suffix_storage_path config comment clearer The comment said that disks, cache and sessions are scoped ot the tenant's storage dir either way, but that's only true if the disks are included in tenancy.filesystem.disks, and for cache and sessions, scope_cache and scope_sessions have to be enabled. This might be obvious, but it'll be better to make this completely clear from the comment. --- assets/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/config.php b/assets/config.php index 33d2e109..0403cfd1 100644 --- a/assets/config.php +++ b/assets/config.php @@ -378,7 +378,8 @@ return [ /** * Should storage_path() be suffixed. * - * Note: This only affects the storage_path() helper. Disks, cache and sessions are + * Note: This only affects the storage_path() helper. Disks listed in the 'disks' config + * above, and cache and sessions if 'scope_cache' and 'scope_sessions' are enabled, are * scoped to the tenant's storage directory either way. With this disabled, files * accessed using storage_path() are shared by all tenants. *