Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 97d1d2f6
authored
Dec 18, 2019
by
Jonathan Reinink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update config files to match Laravel defaults
1 parent
d92e8477
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
47 additions
and
26 deletions
config/auth.php
config/broadcasting.php
config/cache.php
config/database.php
config/filesystems.php
config/logging.php
config/mail.php
config/queue.php
config/services.php
config/session.php
config/auth.php
View file @
97d1d2f
...
...
@@ -97,7 +97,21 @@ return [
'provider'
=>
'users'
,
'table'
=>
'password_resets'
,
'expire'
=>
60
,
'throttle'
=>
60
,
],
],
/*
|--------------------------------------------------------------------------
| Password Confirmation Timeout
|--------------------------------------------------------------------------
|
| Here you may define the amount of seconds before a password confirmation
| times out and the user is prompted to re-enter their password via the
| confirmation screen. By default, the timeout lasts for three hours.
|
*/
'password_timeout'
=>
10800
,
];
config/broadcasting.php
View file @
97d1d2f
...
...
@@ -37,7 +37,7 @@ return [
'app_id'
=>
env
(
'PUSHER_APP_ID'
),
'options'
=>
[
'cluster'
=>
env
(
'PUSHER_APP_CLUSTER'
),
'
encrypted
'
=>
true
,
'
useTLS
'
=>
true
,
],
],
...
...
config/cache.php
View file @
97d1d2f
...
...
@@ -82,6 +82,7 @@ return [
'secret'
=>
env
(
'AWS_SECRET_ACCESS_KEY'
),
'region'
=>
env
(
'AWS_DEFAULT_REGION'
,
'us-east-1'
),
'table'
=>
env
(
'DYNAMODB_CACHE_TABLE'
,
'cache'
),
'endpoint'
=>
env
(
'DYNAMODB_ENDPOINT'
),
],
],
...
...
config/database.php
View file @
97d1d2f
<?php
use
Illuminate\Support\Str
;
return
[
/*
...
...
@@ -35,6 +37,7 @@ return [
'sqlite'
=>
[
'driver'
=>
'sqlite'
,
'url'
=>
env
(
'DATABASE_URL'
),
'database'
=>
env
(
'DB_DATABASE'
,
database_path
(
'database.sqlite'
)),
'prefix'
=>
''
,
'foreign_key_constraints'
=>
env
(
'DB_FOREIGN_KEYS'
,
true
),
...
...
@@ -42,6 +45,7 @@ return [
'mysql'
=>
[
'driver'
=>
'mysql'
,
'url'
=>
env
(
'DATABASE_URL'
),
'host'
=>
env
(
'DB_HOST'
,
'127.0.0.1'
),
'port'
=>
env
(
'DB_PORT'
,
'3306'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
...
...
@@ -61,6 +65,7 @@ return [
'pgsql'
=>
[
'driver'
=>
'pgsql'
,
'url'
=>
env
(
'DATABASE_URL'
),
'host'
=>
env
(
'DB_HOST'
,
'127.0.0.1'
),
'port'
=>
env
(
'DB_PORT'
,
'5432'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
...
...
@@ -75,6 +80,7 @@ return [
'sqlsrv'
=>
[
'driver'
=>
'sqlsrv'
,
'url'
=>
env
(
'DATABASE_URL'
),
'host'
=>
env
(
'DB_HOST'
,
'localhost'
),
'port'
=>
env
(
'DB_PORT'
,
'1433'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
...
...
@@ -113,13 +119,15 @@ return [
'redis'
=>
[
'client'
=>
env
(
'REDIS_CLIENT'
,
'predis'
),
'client'
=>
env
(
'REDIS_CLIENT'
,
'p
hp
redis'
),
'options'
=>
[
'cluster'
=>
env
(
'REDIS_CLUSTER'
,
'predis'
),
'cluster'
=>
env
(
'REDIS_CLUSTER'
,
'redis'
),
'prefix'
=>
env
(
'REDIS_PREFIX'
,
Str
::
slug
(
env
(
'APP_NAME'
,
'laravel'
),
'_'
)
.
'_database_'
),
],
'default'
=>
[
'url'
=>
env
(
'REDIS_URL'
),
'host'
=>
env
(
'REDIS_HOST'
,
'127.0.0.1'
),
'password'
=>
env
(
'REDIS_PASSWORD'
,
null
),
'port'
=>
env
(
'REDIS_PORT'
,
6379
),
...
...
@@ -127,6 +135,7 @@ return [
],
'cache'
=>
[
'url'
=>
env
(
'REDIS_URL'
),
'host'
=>
env
(
'REDIS_HOST'
,
'127.0.0.1'
),
'password'
=>
env
(
'REDIS_PASSWORD'
,
null
),
'port'
=>
env
(
'REDIS_PORT'
,
6379
),
...
...
config/filesystems.php
View file @
97d1d2f
...
...
@@ -37,7 +37,7 @@ return [
| may even configure multiple disks of the same driver. Defaults have
| been setup for each driver as an example of the required options.
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
, "rackspace"
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
*/
...
...
config/logging.php
View file @
97d1d2f
<?php
use
Monolog\Handler\NullHandler
;
use
Monolog\Handler\StreamHandler
;
use
Monolog\Handler\SyslogUdpHandler
;
...
...
@@ -36,7 +37,7 @@ return [
'channels'
=>
[
'stack'
=>
[
'driver'
=>
'stack'
,
'channels'
=>
[
'
daily
'
],
'channels'
=>
[
'
single
'
],
'ignore_exceptions'
=>
false
,
],
...
...
@@ -89,6 +90,15 @@ return [
'driver'
=>
'errorlog'
,
'level'
=>
'debug'
,
],
'null'
=>
[
'driver'
=>
'monolog'
,
'handler'
=>
NullHandler
::
class
,
],
'emergency'
=>
[
'path'
=>
storage_path
(
'logs/laravel.log'
),
],
],
];
config/mail.php
View file @
97d1d2f
...
...
@@ -11,8 +11,8 @@ return [
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "sendmail", "mailgun", "
mandrill", "
ses",
| "
sparkpost", "
postmark", "log", "array"
| Supported: "smtp", "sendmail", "mailgun", "ses",
| "postmark", "log", "array"
|
*/
...
...
config/queue.php
View file @
97d1d2f
...
...
@@ -80,6 +80,7 @@ return [
*/
'failed'
=>
[
'driver'
=>
env
(
'QUEUE_FAILED_DRIVER'
,
'database'
),
'database'
=>
env
(
'DB_CONNECTION'
,
'mysql'
),
'table'
=>
'failed_jobs'
,
],
...
...
config/services.php
View file @
97d1d2f
...
...
@@ -8,9 +8,9 @@ return [
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as
Stripe, Mailgun, SparkPost and others. This file provides a sane
|
default location for this type of information, allowing packages
|
to have a conventional place to find your various
credentials.
| as
Mailgun, Postmark, AWS and more. This file provides the de facto
|
location for this type of information, allowing packages to have
|
a conventional file to locate the various service
credentials.
|
*/
...
...
@@ -30,18 +30,4 @@ return [
'region'
=>
env
(
'AWS_DEFAULT_REGION'
,
'us-east-1'
),
],
'sparkpost'
=>
[
'secret'
=>
env
(
'SPARKPOST_SECRET'
),
],
'stripe'
=>
[
'model'
=>
App\User
::
class
,
'key'
=>
env
(
'STRIPE_KEY'
),
'secret'
=>
env
(
'STRIPE_SECRET'
),
'webhook'
=>
[
'secret'
=>
env
(
'STRIPE_WEBHOOK_SECRET'
),
'tolerance'
=>
env
(
'STRIPE_WEBHOOK_TOLERANCE'
,
300
),
],
],
];
config/session.php
View file @
97d1d2f
...
...
@@ -18,7 +18,7 @@ return [
|
*/
'driver'
=>
env
(
'SESSION_DRIVER'
,
'
fil
e'
),
'driver'
=>
env
(
'SESSION_DRIVER'
,
'
cooki
e'
),
/*
|--------------------------------------------------------------------------
...
...
@@ -190,7 +190,7 @@ return [
| take place, and can be used to mitigate CSRF attacks. By default, we
| do not enable this as other CSRF protection services are in place.
|
| Supported: "lax", "strict"
| Supported: "lax", "strict"
, "none"
|
*/
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment