<?php
/**
 * Fouad AI Photo Editor - Configuration
 * This file is generated by install.php
 */

// Database
define('DB_PATH', __DIR__ . '/data/database.sqlite');

// Z-AI SDK Configuration (loaded from .z-ai-config)
define('ZAI_BASE_URL', ''); // Will be set by installer
define('ZAI_API_KEY', '');  // Will be set by installer

// App
define('APP_SECRET', '');   // Will be set by installer (for sessions)
define('APP_URL', '');      // Will be set by installer

// Upload limits
define('MAX_UPLOAD_SIZE', 10 * 1024 * 1024); // 10 MB
define('MAX_BANNER_SIZE', 2 * 1024 * 1024);  // 2 MB
define('ALLOWED_IMAGE_TYPES', ['image/png', 'image/jpeg', 'image/webp']);

// Session
define('SESSION_LIFETIME', 24 * 60 * 60); // 24 hours