diff --git a/config/activitylog.php b/config/activitylog.php index 27cd6aa..2264480 100755 --- a/config/activitylog.php +++ b/config/activitylog.php @@ -9,7 +9,7 @@ return [ /* * If set to false, no activities will be saved to the database. */ - 'enabled' => env('ACTIVITYLOG_ENABLED', true), + 'enabled' => (bool) env('ACTIVITYLOG_ENABLED', true), /* * When the clean command is executed, all recording activities older than @@ -59,7 +59,7 @@ return [ * buffer is flushed. */ 'buffer' => [ - 'enabled' => env('ACTIVITYLOG_BUFFER_ENABLED', false), + 'enabled' => (bool) env('ACTIVITYLOG_BUFFER_ENABLED', false), ], /* diff --git a/config/database.php b/config/database.php index 751c5bf..924c4f4 100755 --- a/config/database.php +++ b/config/database.php @@ -37,7 +37,7 @@ return [ 'url' => env('DB_URL'), 'database' => env('DB_DATABASE', database_path('database.sqlite')), 'prefix' => '', - 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + 'foreign_key_constraints' => (bool) env('DB_FOREIGN_KEYS', true), ], 'mysql' => [ @@ -159,7 +159,7 @@ return [ 'port' => env('REDIS_PORT', '6379'), 'database' => env('DB_REDIS_DB', '0'), 'read_timeout' => env('REDIS_READ_TIMEOUT', 1.0), - 'persistent' => env('REDIS_PERSISTENT', true), + 'persistent' => (bool) env('REDIS_PERSISTENT', true), ], 'cache' => [ @@ -170,7 +170,7 @@ return [ 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_CACHE_DB', '1'), 'read_timeout' => env('REDIS_READ_TIMEOUT', 1.0), - 'persistent' => env('REDIS_PERSISTENT', true), + 'persistent' => (bool) env('REDIS_PERSISTENT', true), ], ], diff --git a/config/filesystems.php b/config/filesystems.php index a51e57d..4ffa531 100755 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -38,7 +38,7 @@ return [ 'bucket' => env('AWS_BUCKET'), 'url' => env('AWS_URL'), 'endpoint' => env('AWS_ENDPOINT'), - 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), + 'use_path_style_endpoint' => (bool) env('AWS_USE_PATH_STYLE_ENDPOINT', false), 'throw' => false, ], ], diff --git a/config/log-viewer.php b/config/log-viewer.php index 86b54b1..638e98e 100755 --- a/config/log-viewer.php +++ b/config/log-viewer.php @@ -16,7 +16,7 @@ return [ | */ - 'enabled' => env('LOG_VIEWER_ENABLED', true), + 'enabled' => (bool) env('LOG_VIEWER_ENABLED', true), 'require_auth_in_production' => true, diff --git a/config/session.php b/config/session.php index ef36920..79e7bfe 100755 --- a/config/session.php +++ b/config/session.php @@ -46,7 +46,7 @@ return [ | */ - 'encrypt' => env('SESSION_ENCRYPT', true), + 'encrypt' => (bool) env('SESSION_ENCRYPT', true), /* |--------------------------------------------------------------------------