From 8b42d961639f57668721a7ee8ec1e5f1c00856fb Mon Sep 17 00:00:00 2001 From: lopar Date: Wed, 10 Mar 2021 23:22:35 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D1=80=D0=B0=D0=B7=20=D0=BF=D0=BE?= =?UTF-8?q?=20=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20?= =?UTF-8?q?=D0=BF=D0=B8c=D0=B0=D0=BB=20=D0=B2=20=D0=B1=D0=B0=D0=B7=D1=83?= =?UTF-8?q?=20gif,=20=D0=B0=20=D0=BD=D0=B5=20png.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register.php b/register.php index 4af4e7a..7cc4bcb 100644 --- a/register.php +++ b/register.php @@ -25,7 +25,7 @@ if ($_COOKIE[GAMEDOMAIN] ?? null) { return false; } $db->execute('INSERT INTO users (login,pass,email,borndate,ip,session_id,shadow) - VALUES (?,?,?,?,?,?,?)', [$login, $password, $email, $birthday, $_SERVER['REMOTE_ADDR'], session_id(), '0.gif']); + VALUES (?,?,?,?,?,?,?)', [$login, $password, $email, $birthday, $_SERVER['REMOTE_ADDR'], session_id(), '0.png']); $userId = $db->lastInsertId(); $db->execute('INSERT INTO online (user_id, date, room, real_time) VALUES (?,?,1,?)', [$userId, time(), time()]); $db->execute('INSERT INTO bank (user_id) VALUES ?', $userId);