I forgot to change this

This commit is contained in:
2025-07-12 15:58:26 -07:00
parent 2362cc6a07
commit cc6772039c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<?php <?php
require __DIR__ . '/../incl/util.php'; require __DIR__ . '/../incl/util.php';
header("Content-Type: application/json"); setJsonHeader();
$conn = newConnection(); $conn = newConnection();
$stmt = $conn->prepare(" $stmt = $conn->prepare("

View File

@@ -1,6 +1,6 @@
<?php <?php
require __DIR__ . '/../incl/util.php'; require __DIR__ . '/../incl/util.php';
header("Content-Type: application/json"); setJsonHeader();
$conn = newConnection(); $conn = newConnection();
$stmt = $conn->prepare("SELECT username, highScore FROM users WHERE highScore != 0 AND banned = 0 AND leaderboardsBanned = 0 ORDER BY highScore DESC LIMIT 500"); $stmt = $conn->prepare("SELECT username, highScore FROM users WHERE highScore != 0 AND banned = 0 AND leaderboardsBanned = 0 ORDER BY highScore DESC LIMIT 500");