diff options
author | lolcat <will@lolcat.ca> | 2024-04-22 11:12:46 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2024-04-22 11:12:46 -0400 |
commit | 81dc93802c32aa6f593a12b3f2efbe38dc9e31f7 (patch) | |
tree | d19c65d8a838582d54d57c42a0955725a49e2166 /sitemap.php | |
parent | 0dc9d62985083174854251938daec896edef71bd (diff) |
opensearch onion fix
Diffstat (limited to 'sitemap.php')
-rw-r--r-- | sitemap.php | 2 |
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"] ); |