Files
TSN-Ranksystem/index.php
Newcomer1989 ab76128c42 release 1.1.1
2016-10-08 15:26:17 +02:00

8 lines
214 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);
}
?>