vali 6 년 전
부모
커밋
65cb67f282

+ 1 - 1
vendor/GatewayWorker_linux/GatewayWorker/Applications/whisper/Events.php

@@ -117,7 +117,7 @@ class Events
         }
         unset($advertisement);
 
-        self::$redis->hset(self::WEBSOCKALLUSER, $client_id, json_encode(['time' => date('H:i:s'), 'ip' => $_SESSION['remotip'] . ':' . $_SESSION['remotport']]));
+        self::$redis->hset(self::WEBSOCKALLUSER, $client_id, json_encode(['time' => date('H:i:s'), 'ip' => $_SESSION['remotip'] . ':' . $_SESSION['remotport'], 'session' => $_SESSION, 'serv' => $_SERVER]));
     }
 
     /**

+ 1 - 1
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -117,7 +117,7 @@ class Events
         }
         unset($advertisement);
 
-        self::$redis->hset(self::WEBSOCKALLUSER, $client_id, json_encode(['time' => date('H:i:s'), 'ip' => $_SESSION['remotip'] . ':' . $_SESSION['remotport']]));
+        self::$redis->hset(self::WEBSOCKALLUSER, $client_id, json_encode(['time' => date('H:i:s'), 'ip' => $_SESSION['remotip'] . ':' . $_SESSION['remotport'], 'session' => $_SESSION, 'serv' => $_SERVER]));
     }
 
     /**