Skip to content

Commit

Permalink
fix apis
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanza3D committed Dec 3, 2023
1 parent abd7f98 commit 145b14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion medals/api/get_votes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
// for external display
if($_GET['key'] != LANG_UPDATE_KEY) exit;
require_once($_SERVER['DOCUMENT_ROOT'] . "/global/php/functions.php");
if($_GET['key'] != LANG_UPDATE_KEY) exit;
echo json_encode(Database::execSimpleSelect("SELECT * FROM MedalVote"));

0 comments on commit 145b14e

Please sign in to comment.