more bugfix

This commit is contained in:
lolcat 2024-02-17 23:50:40 -05:00
parent addc5a14a9
commit 43162438af
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ include "data/config.php";
$domain =
htmlspecialchars(
(strpos(strtolower($_SERVER['SERVER_PROTOCOL']), 'https') === false ? 'http' : 'https') .
((isset($_SERVER["HTTPS"]) && ($_SERVER["HTTPS"] == "on" || $_SERVER["HTTPS"] === 1)) ? "https" : "http") .
'://' . $_SERVER["HTTP_HOST"]
);

View File

@ -1,4 +1,4 @@
<div class="timetaken">Took {%timetaken%}s</div>
Took {%timetaken%}
<div id="images">
{%images%}
</div>