1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 13:34:04 +00:00

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.
This commit is contained in:
lukinovec 2026-08-19 10:53:33 +02:00 committed by Samuel Stancl
parent 2bd590ef0e
commit 79484cac09

View file

@ -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.
*