trashbin/include/footer.php

15 lines
281 B
PHP

<?php
if ( strlen($_SERVER['HTTPS']) == 0 && strlen($_SERVER['QUERY_STRING']) == 0 ) {
echo "<div id=\"sslhinweis\">Benutze doch HTTPS! -&gt; ";
echo "<a href=\"https://{$_SERVER['SERVER_NAME']}/\">https://{$_SERVER['SERVER_NAME']}</a></div>";
}
?>
</body>
</html>