43 lines
950 B
Plaintext
43 lines
950 B
Plaintext
<?php
|
|
|
|
// Akkoma-Mod-Log settings
|
|
$meta = [
|
|
// Suppresses debug output such as PHP errors
|
|
'production' => true,
|
|
// Which actions should be shown publicly
|
|
'actions' => [
|
|
'grant',
|
|
// 'deactivate',
|
|
// 'activate',
|
|
'report_update',
|
|
// 'relay_follow',
|
|
// 'relay_unfollow',
|
|
// 'delete',
|
|
'revoke',
|
|
'tag',
|
|
'untag',
|
|
// 'approve',
|
|
//'report_note',
|
|
'status_update',
|
|
'status_delete',
|
|
// 'updated_users',
|
|
// 'force_password_reset'
|
|
]
|
|
];
|
|
|
|
// Which instance is this?
|
|
$instance = [
|
|
'name' => 'My Akkoma',
|
|
'url' => 'https://example.com/'
|
|
];
|
|
|
|
// Database connection info
|
|
$database = [
|
|
'host' => '127.0.0.1',
|
|
'port' => 5432,
|
|
'dbname' => 'akkoma',
|
|
'table' => 'moderation_log',
|
|
// You should probably make a new read only user to read from the table
|
|
'user' => 'modlog',
|
|
'password' => ''
|
|
]; |