if (isset($_POST['websocket'])) { CPullOptions::SetWebSocket('Y'); if (!$websocketEnabled) $send = true; } else { CPullOptions::SetWebSocket('N'); if ($websocketEnabled) $send = true; } if ($_POST['path_to_websocket_secure'] != "" && CPullOptions::GetWebSocketSecureUrl() != $_POST['path_to_websocket_secure']) { CPullOptions::SetWebSocketSecureUrl($_POST['path_to_websocket_secure']); $send = true; } if ($send) CPullOptions::SendConfigDie(); if (isset($_POST['nginx'])) { if (!CPullOptions::GetQueueServerStatus()) { $send = true; CPullOptions::SendConfigDie(); CPullOptions::SetQueueServerStatus('Y'); } }