Образ по умолчанию пиcал в базу gif, а не png.
This commit is contained in:
parent
279422ee9e
commit
8b42d96163
@ -25,7 +25,7 @@ if ($_COOKIE[GAMEDOMAIN] ?? null) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$db->execute('INSERT INTO users (login,pass,email,borndate,ip,session_id,shadow)
|
$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();
|
$userId = $db->lastInsertId();
|
||||||
$db->execute('INSERT INTO online (user_id, date, room, real_time) VALUES (?,?,1,?)', [$userId, time(), time()]);
|
$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);
|
$db->execute('INSERT INTO bank (user_id) VALUES ?', $userId);
|
||||||
|
Loading…
Reference in New Issue
Block a user