2018-10-04 19:41:22 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
'web_url' => 'https://www.invoiceninja.com',
|
2018-10-22 14:04:37 +02:00
|
|
|
'app_name' => env('APP_NAME'),
|
2019-03-26 04:08:19 +01:00
|
|
|
'site_url' => env('APP_URL', 'https://v2.invoiceninja.com'),
|
2018-10-22 14:04:37 +02:00
|
|
|
'app_domain' => env('APP_DOMAIN', 'invoiceninja.com'),
|
|
|
|
'app_version' => '0.1',
|
2019-03-28 22:34:58 +01:00
|
|
|
'api_version' => '0.1',
|
2018-10-22 14:04:37 +02:00
|
|
|
'terms_version' => '1.0.1',
|
|
|
|
'app_env' => env('APP_ENV', 'development'),
|
2019-03-27 05:50:13 +01:00
|
|
|
'api_secret' => env('API_SECRET', ''),
|
2018-11-07 06:22:36 +01:00
|
|
|
'google_maps_api_key' => env('GOOGLE_MAPS_API_KEY'),
|
2019-04-24 04:34:39 +02:00
|
|
|
'key_length' => 64,
|
2019-05-29 13:15:42 +02:00
|
|
|
'date_format' => 'Y-m-d',
|
|
|
|
'date_time_format' => 'Y-m-d H:i',
|
2019-05-31 06:01:47 +02:00
|
|
|
'daily_email_limit' => 300,
|
|
|
|
'error_email' => env('ERROR_EMAIL', ''),
|
2018-10-22 14:04:37 +02:00
|
|
|
|
2018-10-19 05:45:55 +02:00
|
|
|
'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller'
|
2018-10-04 19:41:22 +02:00
|
|
|
|
2018-10-19 05:45:55 +02:00
|
|
|
// Settings used by invoiceninja.com
|
|
|
|
|
|
|
|
'terms_of_service_url' => [
|
|
|
|
'hosted' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/terms/'),
|
|
|
|
'selfhost' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/self-hosting-terms-service/'),
|
|
|
|
],
|
|
|
|
|
|
|
|
'privacy_policy_url' => [
|
|
|
|
'hosted' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/privacy-policy/'),
|
|
|
|
'selfhost' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/self-hosting-privacy-data-control/'),
|
|
|
|
],
|
2018-10-21 00:26:21 +02:00
|
|
|
|
|
|
|
'db' => [
|
|
|
|
'multi_db_enabled' => env('MULTI_DB_ENABLED', false),
|
|
|
|
'default' => env('DB_CONNECTION', 'mysql'),
|
2018-10-22 14:04:37 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
'i18n' => [
|
2019-04-24 02:22:02 +02:00
|
|
|
'timezone_id' => env('DEFAULT_TIMEZONE', 15),
|
|
|
|
'country_id' => env('DEFAULT_COUNTRY', 840), // United Stated
|
|
|
|
'currency_id' => env('DEFAULT_CURRENCY', 1), //USD
|
|
|
|
'language_id' => env('DEFAULT_LANGUAGE', 1), //en
|
2018-10-22 14:04:37 +02:00
|
|
|
'date_format' => env('DEFAULT_DATE_FORMAT', 'M j, Y'),
|
|
|
|
'date_picker_format' => env('DEFAULT_DATE_PICKER_FORMAT', 'M d, yyyy'),
|
|
|
|
'datetime_format' => env('DEFAULT_DATETIME_FORMAT', 'F j, Y g:i a'),
|
2019-03-02 22:44:08 +01:00
|
|
|
'datetime_moment_format' => env('DEFAULT_DATETIME_MOMENT_FORMAT', 'MMM D, YYYY h:mm:ss a'),
|
2018-10-22 14:04:37 +02:00
|
|
|
'locale' => env('DEFAULT_LOCALE', 'en'),
|
|
|
|
'map_zoom' => env('DEFAULT_MAP_ZOOM', 10),
|
2019-08-27 03:21:25 +02:00
|
|
|
'payment_terms' => env('DEFAULT_PAYMENT_TERMS', 1),
|
2019-03-02 22:44:08 +01:00
|
|
|
'military_time' => env('MILITARY_TIME', 0),
|
|
|
|
'start_of_week' => env('START_OF_WEEK',1),
|
|
|
|
'financial_year_start' => env('FINANCIAL_YEAR_START', '2000-01-01')
|
2018-10-22 14:04:37 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
'testvars' => [
|
|
|
|
'username' => 'user@example.com',
|
|
|
|
'clientname' => 'client@example.com',
|
|
|
|
'password' => 'password',
|
|
|
|
],
|
|
|
|
|
|
|
|
'contact' => [
|
|
|
|
'email' => env('MAIL_FROM_ADDRESS'),
|
|
|
|
'from_name' => env('MAIL_FROM_NAME'),
|
|
|
|
],
|
|
|
|
|
2019-02-17 11:34:46 +01:00
|
|
|
|
2018-10-04 19:41:22 +02:00
|
|
|
];
|