We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
index.php
1 parent 6a9a160 commit b595f33Copy full SHA for b595f33
1 file changed
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