2022-05-29 19:45:00 -04:00
|
|
|
<?php
|
|
|
|
|
|
2026-10-05 18:10:18 -04:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2022-05-29 19:45:00 -04:00
|
|
|
return [
|
2022-12-01 11:49:54 -07:00
|
|
|
// The number of days elapsed before old activity log entries are deleted.
|
2026-10-11 19:15:22 -04:00
|
|
|
'prune_days' => (int) env('APP_ACTIVITY_PRUNE_DAYS', 90),
|
2022-06-18 15:48:22 -04:00
|
|
|
|
|
|
|
|
// If set to true activity log entries generated by an admin user that is not also
|
|
|
|
|
// a part of the server in question will be hidden from the activity logs API response.
|
|
|
|
|
//
|
|
|
|
|
// Activity will still be properly tracked, just not displayed.
|
2026-10-11 19:15:22 -04:00
|
|
|
'hide_admin_activity' => (bool) env('APP_ACTIVITY_HIDE_ADMIN', false),
|
2022-05-29 19:45:00 -04:00
|
|
|
];
|