1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 01:44:04 +00:00

Add tenancy maintenance mode drivers

This commit is contained in:
j.stein 2022-10-07 11:05:08 -04:00
parent 6ee93d0441
commit bb634b5326
8 changed files with 191 additions and 14 deletions

View file

@ -242,6 +242,21 @@ return [
// Stancl\Tenancy\Features\CrossDomainRedirect::class, // https://tenancyforlaravel.com/docs/v3/features/cross-domain-redirect
],
/**
* Maintenance mode driver
*
* These configuration options determine the driver used to determine and
* manage Tenancy's "maintenance mode" status. The "cache" driver will
* allow maintenance mode to be controlled across multiple machines.
*
* Supported drivers: "database", "cache"
*
*/
'maintenance' => [
'driver' => env('TENANCY_DATABASE_DRIVER', 'database'),
// 'store' => 'redis',
],
/**
* Should tenancy routes be registered.
*