summaryrefslogtreecommitdiff
path: root/sitemap.php
diff options
context:
space:
mode:
Diffstat (limited to 'sitemap.php')
-rw-r--r--sitemap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitemap.php b/sitemap.php
index 041550c..80bda66 100644
--- a/sitemap.php
+++ b/sitemap.php
@@ -5,7 +5,7 @@ include "data/config.php";
$domain =
htmlspecialchars(
- ((isset($_SERVER["HTTPS"]) && ($_SERVER["HTTPS"] == "on" || $_SERVER["HTTPS"] === 1)) ? "https" : "http") .
+ (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on" ? "https" : "http") .
'://' . $_SERVER["HTTP_HOST"]
);