1
0

Fix highscore insert code

This commit is contained in:
2018-01-26 23:49:25 +01:00
parent fde10ee7bf
commit 80fface06b

View File

@@ -43,7 +43,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all
$entry->PLAYER = $name;
$entry->PLAYERID = -1;
$entry->CHECKSUM = $check;
$entry->TIMESTAMP = time();
$entry->TIMESTAMP = date("Y-m-d H:m:s", time());
$entry->IP = $_SERVER['REMOTE_ADDR'];
if ($entry->checkChecksum($rand))
@@ -151,7 +151,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all
$entry->PLAYER = $name;
$entry->PLAYERID = -1;
$entry->CHECKSUM = $check;
$entry->TIMESTAMP = time();
$entry->TIMESTAMP = date("Y-m-d H:m:s", time());
$entry->IP = $_SERVER['REMOTE_ADDR'];
if ($entry->checkChecksum($rand))