diff --git a/config/app.php b/config/app.php index 14f1122b..d26bdd55 100644 --- a/config/app.php +++ b/config/app.php @@ -13,7 +13,7 @@ return [ | */ - 'debug' => (bool) getenv('APP_DEBUG') ?: false, + 'debug' => env('APP_DEBUG'), /* |-------------------------------------------------------------------------- @@ -78,7 +78,7 @@ return [ | */ - 'key' => getenv('APP_KEY') ?: 'YourSecretKey!!!', + 'key' => env('APP_KEY') ?: 'YourSecretKey!!!', 'cipher' => MCRYPT_RIJNDAEL_128, diff --git a/config/cache.php b/config/cache.php index 2e542501..df7906c0 100644 --- a/config/cache.php +++ b/config/cache.php @@ -15,7 +15,7 @@ return [ | */ - 'driver' => getenv('CACHE_DRIVER') ?: 'file', + 'driver' => env('CACHE_DRIVER') ?: 'file', /* |-------------------------------------------------------------------------- diff --git a/config/database.php b/config/database.php index 7f803f6e..759e6f89 100644 --- a/config/database.php +++ b/config/database.php @@ -54,10 +54,10 @@ return [ 'mysql' => [ 'driver' => 'mysql', - 'host' => getenv('DB_HOST') ?: 'localhost', - 'database' => getenv('DB_DATABASE') ?: 'forge', - 'username' => getenv('DB_USERNAME') ?: 'forge', - 'password' => getenv('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' => getenv('DB_HOST') ?: 'localhost', - 'database' => getenv('DB_DATABASE') ?: 'forge', - 'username' => getenv('DB_USERNAME') ?: 'forge', - 'password' => getenv('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' => getenv('DB_HOST') ?: 'localhost', - 'database' => getenv('DB_DATABASE') ?: 'forge', - 'username' => getenv('DB_USERNAME') ?: 'forge', - 'password' => getenv('DB_PASSWORD') ?: '', + 'host' => env('DB_HOST') ?: 'localhost', + 'database' => env('DB_DATABASE') ?: 'forge', + 'username' => env('DB_USERNAME') ?: 'forge', + 'password' => env('DB_PASSWORD') ?: '', 'prefix' => '', ], diff --git a/config/queue.php b/config/queue.php index 310cc0cb..fecd0bd9 100755 --- a/config/queue.php +++ b/config/queue.php @@ -15,7 +15,7 @@ return [ | */ - 'default' => getenv('QUEUE_DRIVER') ?: 'sync', + 'default' => env('QUEUE_DRIVER') ?: 'sync', /* |-------------------------------------------------------------------------- diff --git a/config/session.php b/config/session.php index 2e3a1405..10caef86 100644 --- a/config/session.php +++ b/config/session.php @@ -16,7 +16,7 @@ return [ | */ - 'driver' => getenv('SESSION_DRIVER') ?: 'file', + 'driver' => env('SESSION_DRIVER') ?: 'file', /* |--------------------------------------------------------------------------