From 51683c9484c4ecaaa45bd34b21415d9ebea26079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 Apr 2012 21:32:33 +0200 Subject: [PATCH] Correctly call the socket. --- file/lib/data/chat/message/ChatMessageEditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/data/chat/message/ChatMessageEditor.class.php b/file/lib/data/chat/message/ChatMessageEditor.class.php index b105ce2..00a5caf 100644 --- a/file/lib/data/chat/message/ChatMessageEditor.class.php +++ b/file/lib/data/chat/message/ChatMessageEditor.class.php @@ -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); } }