diff --git a/check.php b/check.php index f0c61bf..fe68d17 100644 --- a/check.php +++ b/check.php @@ -1,12 +1,12 @@ 16 || !preg_match("/[0-9a-zA-Z_]/", $name)) { echo('Invalid name.'); return; } + require 'includes/page.php'; global $table_bans, $table_history, $conn; $stmt = $conn->prepare("SELECT name,uuid FROM " . $table_history . " WHERE name=? ORDER BY date LIMIT 1");