mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Correctly call the socket.
This commit is contained in:
parent
a3bdeba53c
commit
51683c9484
@ -23,7 +23,7 @@ public static function create(array $parameters = array()) {
|
||||
try {
|
||||
if (CHAT_SOCKET_IO_PATH) {
|
||||
if (file_exists(WCF_DIR.'acp/be.bastelstu.wcf.chat.serverPush/data.sock')) {
|
||||
$sock = stream_socket_client('unix://data.sock', $errno, $errstr, 1);
|
||||
$sock = stream_socket_client('unix://'.WCF_DIR.'acp/be.bastelstu.wcf.chat.serverPush/data.sock', $errno, $errstr, 1);
|
||||
fclose($sock);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user