<?php
// ============================================
// KONFIGURASI SISTEM KKN UMUS 2026
// ============================================

// --- Database (MySQL cPanel) ---
define('DB_HOST', 'localhost');
define('DB_NAME', 'lppm_kkn2026');   // Buat database ini di cPanel
define('DB_USER', 'lppm_kknuser');   // Buat user ini di cPanel
define('DB_PASS', 'GANTI_PASSWORD_DATABASE');

// --- SMTP Email ---
define('SMTP_HOST', 'lppm.umus.ac.id');
define('SMTP_PORT', 465);
define('SMTP_USER', 'lppm@umus.ac.id');
define('SMTP_PASS', 'GANTI_PASSWORD_EMAIL_CPANEL');
define('SMTP_FROM', 'lppm@umus.ac.id');
define('SMTP_NAME', 'LPPM UMUS - Sistem KKN 2026');

// --- URL Sistem ---
define('BASE_URL', 'https://lppm.umus.ac.id');
define('KKN_URL',  BASE_URL . '/kkn-dashboard');

// --- Admin ---
define('ADMIN_USER', 'admin_kkn');
define('ADMIN_PASS', '$2y$10$' . password_hash('kkn2026#', PASSWORD_BCRYPT));

// --- Session ---
define('SESSION_NAME', 'kkn_session');
define('SESSION_LIFETIME', 3600 * 8); // 8 jam

// --- Timezone ---
date_default_timezone_set('Asia/Jakarta');
