mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add is_docker variable to account transformeR
This commit is contained in:
parent
f20db94b62
commit
4a34c6b903
@ -75,6 +75,7 @@ class AccountTransformer extends EntityTransformer
|
|||||||
'archived_at' => (int) $account->deleted_at,
|
'archived_at' => (int) $account->deleted_at,
|
||||||
'report_errors' => (bool) $account->report_errors,
|
'report_errors' => (bool) $account->report_errors,
|
||||||
'debug_enabled' => (bool) config('ninja.debug_enabled'),
|
'debug_enabled' => (bool) config('ninja.debug_enabled'),
|
||||||
|
'is_docker' => (bool) config('ninja.is_docker'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ return [
|
|||||||
'phantomjs_secret' => env('PHANTOMJS_SECRET', false),
|
'phantomjs_secret' => env('PHANTOMJS_SECRET', false),
|
||||||
'phantomjs_pdf_generation' => env('PHANTOMJS_PDF_GENERATION', true),
|
'phantomjs_pdf_generation' => env('PHANTOMJS_PDF_GENERATION', true),
|
||||||
'trusted_proxies' => env('TRUSTED_PROXIES', false),
|
'trusted_proxies' => env('TRUSTED_PROXIES', false),
|
||||||
|
'is_docker' => env('IS_DOCKER', false),
|
||||||
'sentry_dsn' => env('SENTRY_LARAVEL_DSN', 'https://9b4e15e575214354a7d666489783904a@sentry.invoicing.co/6'),
|
'sentry_dsn' => env('SENTRY_LARAVEL_DSN', 'https://9b4e15e575214354a7d666489783904a@sentry.invoicing.co/6'),
|
||||||
'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller'
|
'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user