Update event_socket.php

This commit is contained in:
FusionPBX
2017-01-11 14:43:45 -07:00
committed by GitHub
parent 46be3c8e97
commit 95c36e4d35

View File

@@ -104,9 +104,9 @@ class event_socket {
public function connect($host, $port, $password) {
//set defaults
if ($host == '') { $host = '127.0.0.1';
if ($port == '') { $port = '8021';
if ($password == '') { $password = 'ClueCon';
if ($host == '') { $host = '127.0.0.1'; }
if ($port == '') { $port = '8021'; }
if ($password == '') { $password = 'ClueCon'; }
$fp = fsockopen($host, $port, $errno, $errdesc, 3);