<?php
// config.php — Global configuration file
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

return (object) [

    // Database configuration
    'db_host' => 'localhost',
    'db_name' => 'godsonin_neelkanth_website',
    'db_user' => 'godsonin_neelkan',
    'db_pass' => 'Neelkanth@123',

    // Base URL of your project
    'base_url' => 'https://demo.godsonindustries.com/Manak-Analystics/',

    // Mail settings
    'mail_from' => 'no-reply@manakanalytics.com',
    'mail_from_name' => 'Manak Analytics',

    // SMTP Configuration (optional)
    'smtp' => (object)[
        'enabled' => false,
        'host' => 'smtp.example.com',
        'port' => 587,
        'user' => 'smtp_user',
        'pass' => 'smtp_pass',
        'secure' => 'tls', // 'tls' or 'ssl'
    ],
];
