Removed debug code.

This commit is contained in:
Igor Barkov (iwork)
2020-06-23 18:13:20 +03:00
parent 61fd9ba6e9
commit 384c3e61b3
4 changed files with 7 additions and 16 deletions

View File

@@ -5,7 +5,6 @@ require_once 'config.php';
$userLoginStatus = db::c()->query('SELECT enter_game FROM users WHERE id = ?i',$_SESSION['uid'])->getNumRows() ?? 0;
if (empty($userLoginStatus)) {header("Location: index.php");}
else {db::c()->query('UPDATE `users` SET `enter_game` = 0 WHERE `enter_game` = 1 AND `id` = ?i', $_SESSION['uid']);}
echo "fight.php";
?>
<!doctype html>
<html lang="ru">