This commit is contained in:
Bounceysteve99 2023-02-28 23:16:00 +10:30
parent 0da89c0af6
commit 12d1fe7e0c
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<?php <?php
require_once 'core/classes.php'; require_once 'core/classes.php';
headStart();if($loggedIn) { headStart();
if($isLoggedIn) {
if (isset($_GET['client']) && $_GET['client'] == 2016 && $_GET['type'] == "player") { if (isset($_GET['client']) && $_GET['client'] == 2016 && $_GET['type'] == "player") {
die(header("Location: /downloads/player-2016.zip")); die(header("Location: /downloads/player-2016.zip"));
} }
@ -10,4 +11,4 @@ die(header("Location: /downloads/studio-2016.zip"));
} else { } else {
die("404"); // be as vague as possible. die("404"); // be as vague as possible.
exit; exit;
} }