<?php

return [
    'name' => 'AETERNA',
    'debug' => getenv('APP_DEBUG') ?: true,
    'url' => getenv('APP_URL') ?: 'http://localhost:8080',
    'base_path' => '',
    'timezone' => 'Europe/Moscow',
    'locale' => 'ru_RU',
    
    'admin_emails' => [
        'admin@aeterna.ru',
        'administrator@aeterna.ru',
        'aeterna@mail.ru'
    ],
    
    'session' => [
        'lifetime' => 120,
        'secure' => false,
        'http_only' => true
    ],
    
    'delivery' => [
        'default_price' => 2000,
        'free_from' => 50000,
    ],
    
    'promo_codes' => [
        'SALE10' => ['type' => 'percent', 'value' => 10],
        'FREE' => ['type' => 'free_delivery', 'value' => 0],
    ],
    
    'paths' => [
        'storage' => 'storage',
        'uploads' => 'storage/uploads',
        'assets' => 'public/assets',
    ]
];
