mirror of
https://github.com/archtechx/tenancy.git
synced 2026-09-20 14:14:03 +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:
parent
c1e09fb25d
commit
a9cdeb220b
1 changed files with 3 additions and 1 deletions
|
|
@ -378,7 +378,9 @@ return [
|
||||||
/**
|
/**
|
||||||
* Should storage_path() be suffixed.
|
* 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
|
* 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
|
* edge cases, it can cause issues (like using Passport with Vapor - see #196), so
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue