halcyon-webclient/login/privacy.php

20 lines
443 B
PHP

<?php
include("header.php");
$config = parse_ini_file('../config.ini',true);
?>
<main id="main">
<article id="article">
<h2>Halcyon privacy policy</h2>
<?php
if(file_exists("../config/imprint.txt")) {
$imprint = file_get_contents("../config/imprint.txt");
}
else {
$imprint = "Imprint not set!";
}
echo nl2br(str_replace("{{imprint}}",$imprint,file_get_contents("../config/privacy.txt")));
?>
</article>
</main>
<?php include("footer.php") ?>