Skip to content

Commit b595f33

Browse files
author
Sebi94nbg
committed
Apply PHP-CS-Fixer code-style to index.php
1 parent 6a9a160 commit b595f33

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

index.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<?PHP
2-
$target = $_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\').'/stats/';
3-
if(isset($_SERVER['HTTPS'])) {
4-
header('Location: https://'.$target);
5-
} else {
6-
header('Location: http://'.$target);
7-
}
8-
?>
1+
<?php
2+
3+
$target = $_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\').'/stats/';
4+
if (isset($_SERVER['HTTPS'])) {
5+
header('Location: https://'.$target);
6+
} else {
7+
header('Location: http://'.$target);
8+
}

0 commit comments

Comments
 (0)