mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 04:35:52 +12:00
no message
This commit is contained in:
parent
4362a8a294
commit
afd60531fe
8 changed files with 52 additions and 14 deletions
|
@ -8,7 +8,8 @@ function GenHmacMessage(string $data, string $channel)
|
|||
echo("<h1>Set \$hmac_secret in config.php!</h1>");
|
||||
exit();
|
||||
}
|
||||
return $hmac = hash_hmac('sha256', $data, $hmac_secret.$channel.$_SERVER['REMOTE_ADDR'].date('mhdY'));
|
||||
$hmac = hash_hmac('sha256', $data, $hmac_secret.$channel.$_SERVER['REMOTE_ADDR'].date('mdYhi'));
|
||||
return $hmac;
|
||||
}
|
||||
|
||||
function getNoPlayersOnlineInServer($database)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue