We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
index.php
1 parent c7466d3 commit c61f89cCopy full SHA for c61f89c
index.php
@@ -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
-?>
+<?php
+
+$target = $_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\').'/stats/';
+if (isset($_SERVER['HTTPS'])) {
+ header('Location: https://'.$target);
+} else {
+ header('Location: http://'.$target);
+}
0 commit comments