fix medal page login check

This commit is contained in:
xiaomlove
2023-01-12 03:50:39 +08:00
parent 1ff92df6d2
commit a47bc23138
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<?php
require "../include/bittorrent.php";
dbconn();
loggedinorreturn();
$query = \App\Models\Medal::query()->where('display_on_medal_page', 1);
$q = htmlspecialchars($_REQUEST['q'] ?? '');
if (!empty($q)) {