<?php
// Configuration file for Shinda
// Update these values for your live server

// Database Configuration
define('DB_HOST', 'localhost'); // Local development
define('DB_NAME', 'nmfkqoda_shinda'); // Local database name
define('DB_USER', 'nmfkqoda_shinda'); // Local MySQL user
define('DB_PASS', '@0712072925'); // Local MySQL password (usually empty)

// Application Configuration
define('APP_ENV', 'production'); // Change to 'production' on live server
define('APP_URL', 'https://shinda.co.ke/'); // Local development URL
define('CALLBACK_URL', 'https://shinda.co.ke/api/pesapal_callback.php'); // PesaPal callback endpoint
define('VALIDATION_URL', 'https://shinda.co.ke//api/pesapal_callback.php'); // PesaPal validation endpoint

// Error Reporting
if (APP_ENV === 'production') {
    error_reporting(0);
    ini_set('display_errors', 0);
} else {
    error_reporting(E_ALL);
    ini_set('display_errors', 1);
}
?>