connect_error) { die("Connection failed: " . $conn->connect_error); } // 2. Define API constants $api_base_url = 'https://tools.iiggroup.in'; // $api_base_url = 'http://127.0.0.1:8000/api/'; if (!defined('API_BASE_URL')) { define('API_BASE_URL', $api_base_url); } if (!defined('WEBSITE_META')) { define('WEBSITE_META', 'SPORMETANEWS'); } if (!defined('WEBSITE_EVENT')) { define('WEBSITE_EVENT', 'IIGSPORTEVEN'); } if (!defined('WEBSITE_CAREER')) { define('WEBSITE_CAREER', 'IIGSPCAREER0'); } // Return the connection for use in other files return $conn; 845