<?php
// TMDB API Configuration
define('TMDB_API_KEY', '1f731e118751ca1b966dc4dd8f59053f');
define('TMDB_ACCESS_TOKEN', 'eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxZjczMWUxMTg3NTFjYTFiOTY2ZGM0ZGQ4ZjU5MDUzZiIsIm5iZiI6MTc2NTYyMDgwNi4yMzEsInN1YiI6IjY5M2QzYzQ2YTAxMTI1M2EyMjgzZTUwOCIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.jFL409sMMCux-cU7fnXOkbL5LMs1BSSajKHGIJRwC_0');
define('TMDB_BASE_URL', 'https://api.themoviedb.org/3');
define('TMDB_IMAGE_BASE', 'https://image.tmdb.org/t/p');

// Site Configuration
define('SITE_NAME', 'AniCineHub');
define('SITE_URL', 'https://bilalcode.site');

// Session Configuration
if (session_status() === PHP_SESSION_NONE) {
    session_start();
}

// Initialize favorites array in session
if (!isset($_SESSION['favorites'])) {
    $_SESSION['favorites'] = [];
}

// Timezone
date_default_timezone_set('UTC');
