Use PHP date() instead of SQL NOW()
This commit is contained in:
parent
1138d20b0a
commit
756484573a
BIN
database.mwb
BIN
database.mwb
Binary file not shown.
@ -287,7 +287,7 @@ function insertAuthLog($type, $uid = null, $data = "") {
|
||||
} else {
|
||||
$ip = "NOT FOUND";
|
||||
}
|
||||
$database->insert("authlog", ['#logtime' => 'NOW()', 'logtype' => $type, 'uid' => $uid, 'ip' => $ip, 'otherdata' => $data]);
|
||||
$database->insert("authlog", ['logtime' => date("Y-m-d H:i:s"), 'logtype' => $type, 'uid' => $uid, 'ip' => $ip, 'otherdata' => $data]);
|
||||
}
|
||||
|
||||
function verifyReCaptcha($response) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user