Files
TSN-Ranksystem/index.php
Newcomer1989 cf9c22dab0 release 1.2.7
2018-06-26 17:00:09 +02:00

8 lines
221 B
PHP

<?PHP
$target = $_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\').'/stats/';
if(isset($_SERVER['HTTPS'])) {
header('Location: https://'.$target);
} else {
header('Location: http://'.$target);
}
?>