13 lines
441 B
PHP
13 lines
441 B
PHP
<?php
|
|
ob_start();
|
|
session_start();
|
|
require_once 'core/config.php';
|
|
if($maintenance && $pagename !== "Maintenance") {
|
|
header("Location: /maintenance"
|
|
); }
|
|
if (isset($_GET['client']) && $_GET['client'] == 2016 && $_GET['type'] == "player") {
|
|
die(header("Location: /downloads/player-2016.zip"));
|
|
}
|
|
if (isset($_GET['client']) && $_GET['client'] == 2016 && $_GET['type'] == "studio") {
|
|
die(header("Location: /downloads/studio-2016.zip"));
|
|
} |