|
|
@@ -39,7 +39,7 @@ class Events
|
|
|
public static function onMessage($client_id, $message)
|
|
|
{
|
|
|
// 向所有人发送
|
|
|
- Gateway::sendToAll("$client_id said $message\r\n");
|
|
|
+ //Gateway::sendToAll("$client_id said $message\r\n");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -49,6 +49,6 @@ class Events
|
|
|
public static function onClose($client_id)
|
|
|
{
|
|
|
// 向所有人发送
|
|
|
- GateWay::sendToAll("$client_id logout\r\n");
|
|
|
+ //GateWay::sendToAll("$client_id logout\r\n");
|
|
|
}
|
|
|
}
|