Use the "Env" helper which has boolean support.

This commit is contained in:
Taylor Otwell
2014-12-15 13:07:04 -06:00
parent a6a0aab6c6
commit 93434d8679
5 changed files with 17 additions and 17 deletions

View File

@@ -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,