<?php
// ── Application Constants ────────────────────────────────────
define('APP_NAME',    'EMRS');
define('APP_FULL',    'Electricity Meter Reading System');
define('APP_VERSION', '1.0.0');

// Set to '' for root, or '/emrs' if installed in a subfolder
define('BASE_URL', '');

// Absolute filesystem path to uploads folder
define('UPLOAD_PATH', dirname(__DIR__) . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR);

// Web URL to uploads folder
define('UPLOAD_URL', BASE_URL . '/assets/uploads/');


// ── WhatsApp API (wa.bitseva.in) ───────────────────────────
define('WA_API_URL',    'https://wa.bitseva.in/api');
define('WA_SECRET',     '7f45a70997b242a92bb6dc81736e971e34484d1e');       // <─ apna secret yahan
define('WA_ACCOUNT',    '17800801551679091c5a880faf6fb5e6087eb1b2dc6a19de1bcabaf'); // <─ sender WhatsApp unique ID
define('WA_OTP_EXPIRY', 300);                      // OTP valid seconds (5 min)

