privacy.php 443 B

1234567891011121314151617181920
  1. <?php
  2. include("header.php");
  3. $config = parse_ini_file('../config.ini',true);
  4. ?>
  5. <main id="main">
  6. <article id="article">
  7. <h2>Halcyon privacy policy</h2>
  8. <?php
  9. if(file_exists("../config/imprint.txt")) {
  10. $imprint = file_get_contents("../config/imprint.txt");
  11. }
  12. else {
  13. $imprint = "Imprint not set!";
  14. }
  15. echo nl2br(str_replace("{{imprint}}",$imprint,file_get_contents("../config/privacy.txt")));
  16. ?>
  17. </article>
  18. </main>
  19. <?php include("footer.php") ?>