CPullOptions::SetWebSocketUrl($_POST['path_to_websocket']); $send = true; } if (isset($_POST['websocket'])) { if (!CPullOptions::GetWebSocketStatus()) { CPullOptions::SetWebSocketStatus('Y'); $send = true; } } else { if (CPullOptions::GetWebSocketStatus()) { CPullOptions::SetWebSocketStatus('N'); $send = true; } } if ($send) CPullOptions::SendConfigDie(); if (isset($_POST['nginx'])) { if (!CPullOptions::GetNginxStatus()) { $send = true; CPullOptions::SendConfigDie(); CPullOptions::SetNginxStatus('Y'); } }