2018-01-30 03:16:39 +08:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* This file overrides any of the config files in the /config directory.
|
|
|
|
* The root key is the name of the file, and then the structure within.
|
|
|
|
* The config is merged, so only include what you want to override
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
// Overrides config/app.php
|
2018-01-30 03:16:39 +08:00
|
|
|
'app' => [
|
|
|
|
'name' => '$SITE_NAME$',
|
2019-07-18 21:26:33 +08:00
|
|
|
'url' => '$SITE_URL$',
|
2018-01-30 03:16:39 +08:00
|
|
|
|
2019-08-08 00:32:49 +08:00
|
|
|
// When live, 'env' should be 'prod'
|
2019-08-05 20:27:53 +08:00
|
|
|
'env' => 'prod',
|
2019-08-08 00:32:49 +08:00
|
|
|
|
|
|
|
// debug as true shows the Laravel debug bar, which is helpful for
|
|
|
|
// debugging templates and other internals
|
2019-12-12 01:57:18 +08:00
|
|
|
'debug' => true,
|
|
|
|
'debug_toolbar' => false,
|
2018-01-30 03:16:39 +08:00
|
|
|
],
|
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
// Overrides config/phpvms.php
|
2018-01-30 03:16:39 +08:00
|
|
|
'phpvms' => [
|
2018-02-27 10:23:48 +08:00
|
|
|
/**
|
2018-03-01 03:54:14 +08:00
|
|
|
* The ISO "Currency Code" to use, the list is in config/money.php
|
2018-02-27 10:23:48 +08:00
|
|
|
*
|
|
|
|
* Note, do not change this after you've set it, unless you don't
|
|
|
|
* care that the currencies aren't "exchanged" into the new format
|
|
|
|
*/
|
|
|
|
'currency' => 'USD',
|
2018-01-30 03:16:39 +08:00
|
|
|
],
|
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
//
|
|
|
|
// Other settings and configuration you might not need to modify
|
|
|
|
//
|
2018-03-16 23:50:04 +08:00
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
// Overrides config/cache.php
|
2018-01-30 03:16:39 +08:00
|
|
|
'cache' => [
|
|
|
|
'default' => '$CACHE_DRIVER$',
|
2019-07-18 21:26:33 +08:00
|
|
|
'prefix' => '$CACHE_PREFIX$',
|
2018-01-30 03:16:39 +08:00
|
|
|
],
|
|
|
|
|
2018-03-17 00:38:06 +08:00
|
|
|
/*
|
|
|
|
* You can get a captcha key from here:
|
|
|
|
* https://www.google.com/recaptcha/admin
|
|
|
|
*/
|
2018-03-16 23:50:04 +08:00
|
|
|
'captcha' => [
|
2018-03-17 00:38:06 +08:00
|
|
|
'enabled' => false,
|
|
|
|
|
2018-03-16 23:50:04 +08:00
|
|
|
'sitekey' => '',
|
2019-07-18 21:26:33 +08:00
|
|
|
'secret' => '',
|
2018-03-17 00:38:06 +08:00
|
|
|
|
|
|
|
# Attributes can be found here:
|
|
|
|
# https://developers.google.com/recaptcha/docs/display#render_param
|
|
|
|
'attributes' => [
|
|
|
|
'data-theme' => 'light',
|
|
|
|
],
|
2018-03-16 23:50:04 +08:00
|
|
|
],
|
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
// Overrides config/database.php
|
2018-01-30 03:16:39 +08:00
|
|
|
'database' => [
|
2018-02-12 23:02:05 +08:00
|
|
|
'default' => env('DB_CONNECTION', '$DB_CONN$'),
|
2018-01-30 03:16:39 +08:00
|
|
|
'connections' => [
|
|
|
|
'mysql' => [
|
2020-02-29 07:56:01 +08:00
|
|
|
'host' => env('DB_HOST', '$DB_HOST$'),
|
|
|
|
'port' => $DB_PORT$,
|
|
|
|
'database' => '$DB_NAME$',
|
|
|
|
'username' => '$DB_USER$',
|
|
|
|
'password' => '$DB_PASS$',
|
|
|
|
'prefix' => '$DB_PREFIX$',
|
|
|
|
'prefix_indexes' => true,
|
2018-01-30 03:16:39 +08:00
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
// Overrides config/logging.php
|
2018-02-20 01:09:56 +08:00
|
|
|
'logging' => [
|
2019-09-13 20:05:02 +08:00
|
|
|
'default' => 'stack',
|
2018-02-20 01:09:56 +08:00
|
|
|
'channels' => [
|
|
|
|
'single' => ['level' => 'debug'],
|
|
|
|
'daily' => ['level' => 'debug'],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
// Overrides config/mail.php
|
2018-01-30 03:16:39 +08:00
|
|
|
'mail' => [
|
2018-03-05 23:21:40 +08:00
|
|
|
'driver' => 'mail',
|
2018-01-30 03:16:39 +08:00
|
|
|
'host' => '',
|
|
|
|
'port' => 587,
|
|
|
|
'from' => [
|
|
|
|
'name' => '',
|
2019-08-31 03:59:17 +08:00
|
|
|
'address' => 'no-reply@phpvms.net',
|
2018-01-30 03:16:39 +08:00
|
|
|
],
|
|
|
|
'username' => '',
|
|
|
|
'password' => '',
|
|
|
|
],
|
|
|
|
|
2019-07-18 21:26:33 +08:00
|
|
|
// Overrides config/session.php
|
2018-02-03 10:39:51 +08:00
|
|
|
'session' => [
|
|
|
|
'default' => 'file',
|
|
|
|
'lifetime' => 60 * 24, # 24 hours
|
|
|
|
],
|
2018-01-30 03:16:39 +08:00
|
|
|
];
|