Remove php logging

This commit is contained in:
2025-08-28 11:55:17 -07:00
parent 7973484f0c
commit ee1c21b4cc
2 changed files with 1 additions and 8 deletions

View File

@@ -1,7 +1,4 @@
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$conn = newConnection();
$request_username = $_POST['username'];

View File

@@ -1,14 +1,10 @@
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$conn = newConnection();
$request_uid = $_POST['userID'] ?? 0;
$request_session = $_POST['gameSession'] ?? '';
$request_score = $_POST['highScore'] ?? 0;
$conn = newConnection();
$stmt = $conn->prepare("SELECT * FROM users WHERE token = ? AND id = ?");
$stmt->bind_param("ss", $request_session, $request_uid);
$stmt->execute();