<?php

/**
 * ITSWEBER CMS - Application Configuration
 * Updated by installer on 2026-04-15 13:33:33
 */
return [
    'name'     => 'ITSWEBER CMS',
    'version'  => '1.0.0',
    'debug'    => false,
    'timezone' => 'Europe/Berlin',
    'locale'   => 'de',
    'charset'  => 'UTF-8',

    // URL settings
    'base_url' => '',  // Set manually if needed (e.g. 'https://example.com')

    // Upload settings
    'upload' => [
        'max_size'      => 10 * 1024 * 1024,
        'allowed_types' => ['jpg', 'jpeg', 'png', 'gif', 'webp', 'svg', 'pdf', 'doc', 'docx'],
        'image_types'   => ['jpg', 'jpeg', 'png', 'gif', 'webp', 'svg'],
        'upload_path'   => 'public/uploads',
    ],

    // Session settings
    'session' => [
        'lifetime' => 7200,
        'name'     => 'iw_session',
    ],

    // Mail settings (used by App\Services\Mailer)
    // transport: 'mail' = PHP mail(), 'smtp' = direct SMTP connection
    // smtp_encryption: 'tls' (STARTTLS/587), 'ssl' (implicit/465), 'none' (plain/25)
    'mail' => array (
  'transport' => 'mail',
  'from_address' => 'noreply@example.com',
  'from_name' => 'ITSWEBER',
  'reply_to' => '',
  'smtp_host' => '',
  'smtp_port' => 587,
  'smtp_username' => '',
  'smtp_password' => '',
  'smtp_encryption' => 'tls',
),
];