Skip to content

Commit c61f89c

Browse files
author
Sebi94nbg
committed
Apply PHP-CS-Fixer code-style to index.php
1 parent c7466d3 commit c61f89c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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)