<?php
/**
 * RentRev AI - Configuration
 * This file is generated by the installer
 */

// Database
define('DB_HOST', '{{DB_HOST}}');
define('DB_NAME', '{{DB_NAME}}');
define('DB_USER', '{{DB_USER}}');
define('DB_PASS', '{{DB_PASS}}');
define('DB_PREFIX', 'rr_');

// Application
define('APP_NAME', '{{APP_NAME}}');
define('APP_URL', '{{APP_URL}}');
define('APP_ENV', 'production'); // production, development
define('APP_DEBUG', false);
define('APP_VERSION', '1.0.0');
define('APP_KEY', '{{APP_KEY}}');

// Paths
define('ROOT_PATH', dirname(__DIR__));
define('APP_PATH', ROOT_PATH . '/app');
define('PUBLIC_PATH', ROOT_PATH . '/public');
define('STORAGE_PATH', ROOT_PATH . '/storage');
define('UPLOAD_PATH', PUBLIC_PATH . '/uploads');

// Security
define('SESSION_LIFETIME', 7200); // 2 hours
define('CSRF_TOKEN_LIFETIME', 3600);
define('MAX_LOGIN_ATTEMPTS', 5);
define('LOCKOUT_DURATION', 900); // 15 minutes
define('PASSWORD_MIN_LENGTH', 8);

// File Uploads
define('MAX_UPLOAD_SIZE', 10 * 1024 * 1024); // 10MB
define('ALLOWED_FILE_TYPES', 'jpg,jpeg,png,gif,pdf,doc,docx,xls,xlsx,csv,txt,zip');
define('ALLOWED_IMAGE_TYPES', 'jpg,jpeg,png,gif,webp');

// Timezone
define('APP_TIMEZONE', 'America/New_York');

// Pagination
define('ITEMS_PER_PAGE', 25);
