akkoma-mod-log/config/config.php.example

43 lines
946 B
Plaintext
Raw Normal View History

2024-02-25 10:40:23 -08:00
<?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',
'pass' => ''
];