mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Default all segment contexts to include driver info.
This commit is contained in:
parent
1af50d991e
commit
65aaa6402a
@ -92,6 +92,9 @@ if (!function_exists('segment_track')) {
|
||||
'context' => [
|
||||
'locale' => Config::get('app.locale'),
|
||||
'timezone' => Setting::get('app_timezone'),
|
||||
'DB_DRIVER' => getenv('DB_DRIVER'),
|
||||
'CACHE_DRIVER' => getenv('CACHE_DRIVER'),
|
||||
'SESSION_DRIVER' => getenv('SESSION_DRIVER'),
|
||||
],
|
||||
]);
|
||||
} else {
|
||||
@ -123,6 +126,9 @@ if (!function_exists('segment_page')) {
|
||||
'context' => [
|
||||
'locale' => Config::get('app.locale'),
|
||||
'timezone' => Setting::get('app_timezone'),
|
||||
'DB_DRIVER' => getenv('DB_DRIVER'),
|
||||
'CACHE_DRIVER' => getenv('CACHE_DRIVER'),
|
||||
'SESSION_DRIVER' => getenv('SESSION_DRIVER'),
|
||||
],
|
||||
]);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user