Beispiel #1
0
			$send = true;
		}
		if ($_POST['path_to_mobile_listener_secure'] != "" && CPullOptions::GetListenSecureUrl("", true) != $_POST['path_to_mobile_listener_secure'])
		{
			CPullOptions::SetListenSecureUrl($_POST['path_to_mobile_listener_secure'], true);
			$send = true;
		}
		if ($_POST['path_to_websocket'] != "" && CPullOptions::GetWebSocketUrl() != $_POST['path_to_websocket'])
		{
			CPullOptions::SetWebSocketUrl($_POST['path_to_websocket']);
			if (isset($_POST['websocket']))
				$send = true;
		}
		if ($_POST['nginx_version'] != "" && CPullOptions::GetQueueServerVersion() != $_POST['nginx_version'])
		{
			CPullOptions::SetQueueServerVersion($_POST['nginx_version']);
			if (isset($_POST['websocket']))
				$send = true;
		}
		$websocketEnabled = CPullOptions::GetWebSocket();
		if (isset($_POST['websocket']))
		{
			CPullOptions::SetWebSocket('Y');
			if (!$websocketEnabled)
				$send = true;
		}
		else
		{
			CPullOptions::SetWebSocket('N');
			if ($websocketEnabled)
				$send = true;