<?php
// ── Database & App Configuration ─────────────────────────
define('DB_HOST',    'localhost');
define('DB_PORT',    '3306');
define('DB_NAME',    'rewards_db');
define('DB_USER',    'root');
define('DB_PASS',    '');          // XAMPP default: empty
define('APP_NAME',   'Rewards System');
define('APP_VER',    '1.0.0');

// Base URL – adjust if your folder name differs
define('BASE_URL', '/rewards');

// Start session once
if (session_status() === PHP_SESSION_NONE) {
    session_start();
}
