|
|
@@ -115,7 +115,9 @@ class Events
|
|
|
}
|
|
|
unset($advertisement);
|
|
|
|
|
|
- self::$redis->hset(self::WEBSOCKALLUSER, $client_id, json_encode(array_merge($_SERVER, ['time' => date('H:i:s')])));
|
|
|
+ $infos = $_SERVER;
|
|
|
+ unset($infos['GATEWAY_ADDR'], $infos['GATEWAY_PORT']);
|
|
|
+ self::$redis->hset(self::WEBSOCKALLUSER, $client_id, json_encode(array_merge(['time' => date('H:i:s'), $infos])));
|
|
|
}
|
|
|
|
|
|
/**
|