<?php
// config.sample.php - Template copy of config.php with no secrets.
//
// Usage:
//   1. cp config.sample.php config.php
//   2. chmod 600 config.php
//   3. Fill in real values OR set the corresponding FONFIX_* env vars.

return [
    'database' => [
        'host'     => 'localhost',
        'dbname'   => 'fonfixco_leng',
        'username' => 'fonfixco_leng',
        'password' => 'CHANGE_ME',
        'charset'  => 'utf8mb4',
    ],
    'security' => [
        'max_login_attempts' => 5,
        'lockout_duration'   => 900,
        'session_lifetime'   => 3153600000,
    ],
    'features' => [
        'low_stock_threshold' => 5,
        'items_per_page'      => 50,
        'enable_export'       => true,
        // Keep false in production; flip true (or set FONFIX_VERBOSE_LOG=1)
        // for verbose stock debugging.
        'verbose_log'         => false,
    ],
    'backup_sync' => [
        'secret_key'    => 'CHANGE_ME_AT_LEAST_48_RANDOM_CHARS',
        'target_url'    => 'https://systembackup.example.com/restore_from_sync.php',
        'cron_key'      => 'CHANGE_ME_LONG_RANDOM_STRING',
        'monitor_token' => 'CHANGE_ME_LONG_RANDOM_STRING',
    ],
    'telegram' => [
        'enabled'   => false,
        'bot_token' => '',
        'chat_id'   => '',
    ],
];
