urlmanager
This commit is contained in:
12
www/internals/highscores.php
Normal file
12
www/internals/highscores.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php if(count(get_included_files()) ==1) exit("Direct access not permitted.");
|
||||
|
||||
class Highscores
|
||||
{
|
||||
public static function generateChecksum($rand, $player, $playerid, $points, $gamesalt)
|
||||
{
|
||||
if ($playerid >= 0)
|
||||
return md5($rand . $player . $playerid . $points . $gamesalt);
|
||||
else
|
||||
return md5($rand . $player . $points . $gamesalt);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user