1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 11:34:03 +00:00

Make asset tenancy optional (#300)

This commit is contained in:
Samuel Štancl 2020-02-26 09:14:40 +01:00 committed by GitHub
parent 98ce0ee294
commit 292b7acd16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 10 deletions

View file

@ -43,6 +43,7 @@ return [
'filesystem' => [ // https://tenancy.samuelstancl.me/docs/v2/filesystem-tenancy/
'suffix_base' => 'tenant',
'suffix_storage_path' => true, // Note: Disabling this will likely break local disk tenancy. Only disable this if you're using an external file storage service like S3.
'asset_helper_tenancy' => true, // should asset() be automatically tenant-aware. You may want to disable this if you use tools like Horizon.
// Disks which should be suffixed with the suffix_base + tenant id.
'disks' => [
'local',