Browse Source

Update some config file to adopt laravel 5.5 config files

pull/1/head
Nafies Luthfi 8 years ago
parent
commit
0ed6bd8dcc
  1. 7
      .env.example
  2. 9
      config/app.php
  3. 33
      config/mail.php

7
.env.example

@ -1,15 +1,18 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
APP_LOCALE=id
APP_TIMEZONE=Asia/Makassar
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

9
config/app.php

@ -52,7 +52,7 @@ return [
|
*/
'url' => 'http://localhost',
'url' => env('APP_URL', 'http://localhost'),
/*
|--------------------------------------------------------------------------
@ -78,7 +78,7 @@ return [
|
*/
'locale' => env('APP_LOCALE', 'en'),
'locale' => 'id',
/*
|--------------------------------------------------------------------------
@ -121,9 +121,12 @@ return [
|
*/
'log' => env('APP_LOG', 'daily'),
'log' => env('APP_LOG', 'daily'),
'log_max_files' => 30,
'log_level' => env('APP_LOG_LEVEL', 'debug'),
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers

33
config/mail.php

@ -54,7 +54,10 @@ return [
|
*/
'from' => ['address' => env('MAIL_FROM', 'mail@app.dev'), 'name' => env('MAIL_NAME', 'Laravel')],
'from' => [
'address' => env('MAIL_FROM', 'mail@app.dev'),
'name' => env('MAIL_NAME', 'Laravel'),
],
/*
|--------------------------------------------------------------------------
@ -82,30 +85,38 @@ return [
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
/*
|--------------------------------------------------------------------------
| SMTP Server Password
| Sendmail System Path
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/
'password' => env('MAIL_PASSWORD'),
'sendmail' => '/usr/sbin/sendmail -bs',
/*
|--------------------------------------------------------------------------
| Sendmail System Path
| Markdown Mail Settings
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
| If you are using Markdown based email rendering, you may configure your
| theme and component paths here, allowing you to customize the design
| of the emails. Or, you may simply stick with the Laravel defaults!
|
*/
'sendmail' => '/usr/sbin/sendmail -bs',
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
];
Loading…
Cancel
Save