<?php
return [
    'db' => [
        'host' => 'localhost:3306',
        'name' => 'mr',
        'user' => 'root',
        'pass' => 'CHANGE_ME',
        'charset' => 'utf8mb4',
    ],
    'mail' => [
        'from_email' => 'noreply@example.com',
        'from_name' => 'Mailresponder',
        'smtp_host' => 'smtp.example.com',
        'smtp_user' => 'noreply@example.com',
        'smtp_pass' => 'CHANGE_ME',
        'smtp_port' => 587,
        'smtp_secure' => 'tls',
    ],
    'app' => [
        'base_url' => 'https://example.com/mr',
    ],
    'editor' => [
        'use_ckeditor' => true,
        'default_mode' => 'email_builder',
        'allowed_modes' => ['code', 'ckeditor', 'email_builder'],
    ],
    'member' => [
        'enabled' => false,
        'password_reset_expiry_minutes' => 60,
    ],
    'security' => [
        'doi_key' => 'CHANGE_ME_BASE64_32_BYTES',
        'hash_salt' => 'CHANGE_ME_RANDOM_STRING',
        'doi_purge_days' => 30,
        'doi_rotate_days' => 365,
        'cron_ip' => '127.0.0.1',
    ],
    'logging' => [
        'level' => 'INFO',
        'sql_success_log' => true,
        'sql_error_log' => true,
    ],
];
