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:
parent
6ee93d0441
commit
bb634b5326
8 changed files with 191 additions and 14 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue