<?php
/**
 * =====================================================================
 * nadi.kr signup kit — Configuration
 * =====================================================================
 * These MUST match the credentials used by 4kmovies.vip/nadiplayer/api/
 * config.php so both deployments write to the SAME MySQL database.
 *
 * DO NOT commit this file to a public repo — it contains real DB creds.
 * =====================================================================
 */

// ── MySQL (shared with 4kmovies.vip/nadiplayer) ─────────────────
define('DB_HOST', 'localhost');
define('DB_PORT', 3306);
define('DB_NAME', 'koreama_nadiplayer');
define('DB_USER', 'koreama_nadiplayer');
define('DB_PASS', 'NadiPlayer2026');

// ── Shared secret for POST /api/signup.php ───────────────────────
// Rotate this if it ever leaks.  Send it back as the HTTP header
// `X-Signup-Secret: <value>` from your payment webhook / storefront.
define('SIGNUP_SECRET', 'CHANGE_ME_RIGHT_NOW_randomize_at_least_32_chars');

// ── Misc ─────────────────────────────────────────────────────────
date_default_timezone_set('UTC');
ini_set('display_errors', '0');
error_reporting(E_ALL);
@ini_set('log_errors', '1');
@ini_set('error_log', __DIR__ . '/error.log');
