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

Fix the suffix_storage_path comment in the config

Disabling the config doesn't break local disk tenancy -- it only affects the
storage_path() helper. Disks, cache and sessions are scoped either way, so the
tradeoff is that files accessed using storage_path() are shared by all tenants.
This commit is contained in:
lukinovec 2026-08-18 14:54:22 +02:00 committed by Samuel Stancl
parent c1e09fb25d
commit a9cdeb220b

View file

@ -378,7 +378,9 @@ return [
/**
* Should storage_path() be suffixed.
*
* Note: Disabling this will likely break local disk tenancy. Only disable this if you're using an external file storage service like S3.
* Note: This only affects the storage_path() helper. Disks, cache and sessions are
* scoped to the tenant's storage directory either way. With this disabled, files
* accessed using storage_path() are shared by all tenants.
*
* For the vast majority of applications, this feature should be enabled. But in some
* edge cases, it can cause issues (like using Passport with Vapor - see #196), so