<?php
/**
 * Application Configuration
 */

// Application constants

define('APP_NAME', 'NIS Migrant e-Registration');
define('APP_ENV', 'production'); 
define('APP_URL', 'https://nis-migrant.com.ng'); 
define('APP_DEBUG', true); // 
define('APP_TIMEZONE', 'Africa/Lagos');

// Security constants
define('SECURITY_KEY', 'nis-migrant-ereg-secret-key-2024');
define('CSRF_KEY', 'nis-csrf-token-key-2024');
define('ENCRYPTION_KEY', 'f6045d3c5f8d3a7b2e9c4a6d8b2f1e7a');
define('SESSION_NAME', 'nis_migrant_sid');
define('SESSION_LIFETIME', 7200);

// Rate limiting
define('MAX_LOGIN_ATTEMPTS', 5);
define('LOGIN_TIMEOUT_MINUTES', 15);

// Upload configuration
define('MAX_UPLOAD_SIZE', 5242880);
define('ALLOWED_FILE_TYPES', ['image/jpeg', 'image/png', 'image/gif', 'application/pdf']);
define('UPLOAD_PATH', '/storage/uploads');