exec("CREATE TABLE IF NOT EXISTS system_settings ( key_name TEXT PRIMARY KEY, value TEXT )"); // 기본값 설정 (이미 있으면 무시) $stmt = $db->prepare("INSERT OR IGNORE INTO system_settings (key_name, value) VALUES (?, ?)"); $stmt->execute(['menu_cards_visible', '1']); $stmt->execute(['menu_mfp_visible', '1']); echo "✅ system_settings table created and initialized."; } catch (Exception $e) { echo "❌ Error: " . $e->getMessage(); }