1
0
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:
Tim Düsterhus 2012-04-27 21:32:33 +02:00
parent a3bdeba53c
commit 51683c9484

View File

@ -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);
}
}