Commit 38e9a241 authored by Carlos - 安正超's avatar Carlos - 安正超 Committed by overtrue

Modify the wording of env() default values

parent dc384fe1
......@@ -78,7 +78,7 @@ return [
|
*/
'key' => env('APP_KEY') ?: 'YourSecretKey!!!',
'key' => env('APP_KEY', 'YourSecretKey!!!'),
'cipher' => MCRYPT_RIJNDAEL_128,
......
......@@ -13,7 +13,7 @@ return [
|
*/
'default' => env('CACHE_DRIVER') ?: 'file',
'default' => env('CACHE_DRIVER', 'file'),
/*
|--------------------------------------------------------------------------
......
......@@ -54,10 +54,10 @@ return [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST') ?: 'localhost',
'database' => env('DB_DATABASE') ?: 'forge',
'username' => env('DB_USERNAME') ?: 'forge',
'password' => env('DB_PASSWORD') ?: '',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
......@@ -65,10 +65,10 @@ return [
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST') ?: 'localhost',
'database' => env('DB_DATABASE') ?: 'forge',
'username' => env('DB_USERNAME') ?: 'forge',
'password' => env('DB_PASSWORD') ?: '',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
......@@ -76,10 +76,10 @@ return [
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST') ?: 'localhost',
'database' => env('DB_DATABASE') ?: 'forge',
'username' => env('DB_USERNAME') ?: 'forge',
'password' => env('DB_PASSWORD') ?: '',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'prefix' => '',
],
......
......@@ -16,7 +16,7 @@ return [
|
*/
'default' => env('QUEUE_DRIVER') ?: 'sync',
'default' => env('QUEUE_DRIVER', 'sync'),
/*
|--------------------------------------------------------------------------
......
......@@ -16,7 +16,7 @@ return [
|
*/
'driver' => env('SESSION_DRIVER') ?: 'file',
'driver' => env('SESSION_DRIVER', 'file'),
/*
|--------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment