<?php
/**
 * TempMail Platform - Configuration File Example
 * 
 * Copy this file to config.php and update the values
 */

// Database Configuration
define('DB_HOST', 'localhost');
define('DB_NAME', 'tempmail');
define('DB_USER', 'tempmail');
define('DB_PASS', 'your_secure_password');

// Application Settings
define('SITE_NAME', 'TempMail');
define('SITE_URL', 'https://tempmail.yourdomain.com');
define('ADMIN_EMAIL', 'admin@tempmail.local');

// Security Keys - Generate random strings for these
define('JWT_SECRET', 'your_random_jwt_secret_key_here_min_32_chars');
define('WEBHOOK_KEY', 'your_random_webhook_key_here');

// Email Settings
define('EMAIL_EXPIRY_HOURS', 24);
define('MAX_EMAIL_SIZE', 10485760); // 10MB

// Rate Limiting
define('RATE_LIMIT_REQUESTS', 100);
define('RATE_LIMIT_WINDOW', 3600); // 1 hour

// Paths
define('BASE_PATH', dirname(__DIR__));
define('CONFIG_PATH', BASE_PATH . '/config');
define('CLASSES_PATH', BASE_PATH . '/classes');

// Error Reporting (set to 0 in production)
error_reporting(E_ALL);
ini_set('display_errors', '1');
