<?php
return [
  'base_url' => 'https://example.ch/qr-tool',
  'db_host' => 'localhost',
  'db_name' => 'qr_manager',
  'db_user' => 'qr_user',
  'db_pass' => 'change-me',
  'table_prefix' => 'qr_ab12cd_',
  'registration_enabled' => true,
  'force_ssl' => true,
  'trusted_proxies' => [], // Proxy-IP-Adressen, deren X-Forwarded-Header vertraut werden darf
  // Optional legacy fallback. The active update endpoint is QRATOR_UPDATE_MANIFEST_URL in app/bootstrap.php.
  'update_manifest_url' => 'https://qrator.web2use.ch/update-platform.json',
  'session_name' => 'qrmanager_session',
  'stats_salt' => 'change-this-random-salt',
  'reset_from_email' => 'noreply@example.ch',
  'geo_tracking' => false,
  'geo_provider' => 'none', // 'none', 'cloudflare' oder 'ipapi'
  'mail' => [
    'transport' => 'mail', // 'mail' oder 'smtp'
    'from_email' => 'noreply@example.ch',
    'from_name' => 'KuhRator',
    'smtp_host' => '',
    'smtp_port' => 587,
    'smtp_encryption' => 'tls', // 'tls', 'ssl' oder 'none'
    'smtp_user' => '',
    'smtp_pass' => '',
  ],
];
