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 [
|
|
|
|
|
|
|
|
# overrides app.php
|
|
|
|
'app' => [
|
|
|
|
'name' => '$SITE_NAME$',
|
|
|
|
'url' => '$SITE_URL$',
|
|
|
|
|
|
|
|
# Don't forget to change these when live
|
2018-03-26 05:19:24 +08:00
|
|
|
'env' => 'local',
|
2018-09-21 02:51:05 +08:00
|
|
|
'debug' => false,
|
2018-01-30 03:16:39 +08:00
|
|
|
],
|
|
|
|
|
|
|
|
# overrides phpvms.php
|
|
|
|
'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
|
|
|
],
|
|
|
|
|
2018-03-12 07:05:53 +08:00
|
|
|
# This is the name of the active theme
|
|
|
|
'themes' => [
|
|
|
|
'default' => 'default',
|
|
|
|
],
|
|
|
|
|
2018-03-12 07:14:34 +08:00
|
|
|
'vacentral' => [
|
|
|
|
'api_key' => '',
|
|
|
|
],
|
|
|
|
|
2018-03-16 23:50:04 +08:00
|
|
|
#
|
|
|
|
# Other settings and configuration you might not need to modify
|
|
|
|
#
|
|
|
|
|
2018-01-30 03:16:39 +08:00
|
|
|
# overrides cache.php
|
|
|
|
'cache' => [
|
|
|
|
'default' => '$CACHE_DRIVER$',
|
|
|
|
'prefix' => 'phpvms_',
|
|
|
|
],
|
|
|
|
|
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' => '',
|
2018-03-17 00:38:06 +08:00
|
|
|
'secret' => '',
|
|
|
|
|
|
|
|
# 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
|
|
|
],
|
|
|
|
|
2018-01-30 03:16:39 +08:00
|
|
|
# overrides database.php
|
|
|
|
'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' => [
|
|
|
|
'host' => '$DB_HOST$',
|
|
|
|
'port' => $DB_PORT$,
|
|
|
|
'database' => '$DB_NAME$',
|
|
|
|
'username' => '$DB_USER$',
|
|
|
|
'password' => '$DB_PASS$',
|
|
|
|
'prefix' => '$DB_PREFIX$',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2018-02-20 01:09:56 +08:00
|
|
|
'logging' => [
|
|
|
|
'channels' => [
|
|
|
|
'single' => ['level' => 'debug'],
|
|
|
|
'daily' => ['level' => 'debug'],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2018-01-30 03:16:39 +08:00
|
|
|
# overrides mail.php
|
|
|
|
'mail' => [
|
2018-03-05 23:21:40 +08:00
|
|
|
'driver' => 'mail',
|
2018-01-30 03:16:39 +08:00
|
|
|
'host' => '',
|
|
|
|
'port' => 587,
|
|
|
|
'from' => [
|
|
|
|
'name' => '',
|
|
|
|
'address' => '',
|
|
|
|
],
|
|
|
|
'username' => '',
|
|
|
|
'password' => '',
|
|
|
|
],
|
|
|
|
|
2018-02-03 10:39:51 +08:00
|
|
|
'session' => [
|
|
|
|
'default' => 'file',
|
|
|
|
'lifetime' => 60 * 24, # 24 hours
|
|
|
|
],
|
2018-01-30 03:16:39 +08:00
|
|
|
];
|