You've already forked Atomcms-edit
Add (bool) type casts to all boolean env() calls across config files
This commit is contained in:
@@ -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),
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user