Browse Source

Clean .env and make timezone configurable

master
Les De Ridder 1 year ago
parent
commit
f0e5edee21
2 changed files with 4 additions and 22 deletions
  1. 3
    21
      .env.example
  2. 1
    1
      config/app.php

+ 3
- 21
.env.example View File

@@ -4,6 +4,8 @@ APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

TIMEZONE=UTC

LOG_CHANNEL=stack

DB_CONNECTION=mysql
@@ -13,27 +15,7 @@ DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=10080

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

+ 1
- 1
config/app.php View File

@@ -65,7 +65,7 @@ return [
|
*/

'timezone' => 'UTC',
'timezone' => env('TIMEZONE', 'UTC'),

/*
|--------------------------------------------------------------------------

Loading…
Cancel
Save