<?php
/**
 * Site Configuration File
 */

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

// Set Timezone (Bangladesh Time)
date_default_timezone_set('Asia/Dhaka');

/* =========================================
   DATABASE CREDENTIALS
   ========================================= */
// এখানে আপনার ডাটাবেসের আসল তথ্যগুলো বসান
define('DB_HOST', 'localhost');
define('DB_NAME', 'dssite_e-com'); // ডাটাবেসের নাম
define('DB_USER', 'dssite_e-com'); // ডাটাবেসের ইউজারনেম
define('DB_PASS', 'dssite_e-com'); // ডাটাবেসের পাসওয়ার্ড

/* =========================================
   SITE URLs & PATHS
   ========================================= */
// আপনার ওয়েবসাইটের ডোমেইন লিংক
define('SITE_URL', 'https://ds01.site'); 

// Root Directory Path
define('ROOT_DIR', dirname(__DIR__));

// Upload Paths
define('UPLOAD_DIR', ROOT_DIR . '/uploads');
define('PRODUCT_FILES_PATH', UPLOAD_DIR . '/products/files');
define('PRODUCT_IMAGES_PATH', UPLOAD_DIR . '/products/images');
define('CATEGORY_IMAGES_PATH', UPLOAD_DIR . '/categories');
define('SLIDER_IMAGES_PATH', UPLOAD_DIR . '/sliders');

// Currency Symbol
define('CURRENCY_SYMBOL', '৳');

/* =========================================
   GOOGLE LOGIN API CREDENTIALS
   ========================================= */
define('GOOGLE_CLIENT_ID', 'your_google_client_id_here');
define('GOOGLE_CLIENT_SECRET', 'your_google_client_secret_here');
define('GOOGLE_REDIRECT_URL', SITE_URL . '/login');
?>
