From 9a8b5eddfd48fe1971a46b759974c2508e4b299e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 28 Jan 2023 22:19:01 +0100 Subject: [PATCH] fix --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index bbea00b..546923d 100755 --- a/index.php +++ b/index.php @@ -111,7 +111,7 @@ else setcookie("inicialy", $inicialy); $connections = json_decode(file_get_contents($connsa), true); - $temparray = array("dateping"=>date("Y.n.d H:i:s"), "date"=>date("Y.n.d H:i:s"), "timestamp"=>time(), "listeners"=>$_SESSION['listeners'], "inicialy"=>$_SESSION['inicialy'], "ip"=>$_SERVER["REMOTE_ADDR"]); + $temparray = array("dateping"=>date("Y.n.d H:i:s"), "date"=>date("Y.n.d H:i:s"), "timestamp"=>time(), "listeners"=>$_SESSION['listeners'], "inicialy"=>$_SESSION['inicialy'], "ip"=>$ipcka); $connections[session_id()] = $temparray; file_put_contents($connsa, json_encode($connections));