Use the "Env" helper which has boolean support.
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user