misc fixes
This commit is contained in:
parent
24120b41b4
commit
ec08bc0590
|
|
@ -178,8 +178,6 @@ try
|
|||
$accesseddirectory != "/Game/Negotiate.ashx" &&
|
||||
$accesseddirectory != "/asset/index.php" &&
|
||||
$accesseddirectory != "/settings/resetpassword.php" &&
|
||||
//$accesseddirectory != "/Game/Join.ashx" &&
|
||||
//$accesseddirectory != "/Game/PlaceLauncher.ashx" &&
|
||||
$accesseddirectory != "/secret/localtesting.php") { //for local client testing, doesn't contain anything sensitive
|
||||
redirect($url);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ else if ($action == "connect")
|
|||
$new_visit = true;
|
||||
}
|
||||
|
||||
if (new_visit)
|
||||
if ($new_visit)
|
||||
{
|
||||
$setgamevisit = $pdo->prepare("UPDATE assets SET Visited = (Visited + 1) WHERE id = :g");
|
||||
$setgamevisit->bindParam(":g", $placeid, PDO::PARAM_INT);
|
||||
|
|
|
|||
Loading…
Reference in New Issue