Olaf Bohlen
2019-10-29 ade692e7250036da482d1fc1aaf1771c2766d6bf
filesecret support
1 files modified
9 ■■■■■ changed files
index.php 9 ●●●●● patch | view | raw | blame | history
index.php
@@ -7,6 +7,15 @@
    echo '<p>hello world from ' .$_ENV["HOSTNAME"] . '</p>';
    echo '<p>TEXT = ' .$_ENV["TEXT"] . '</p>';
    echo '<p>PASSWORD = ' .$_ENV["PASSWORD"] . '</p>';
    echo '<p>'
    $filename = '/secretstore/filesecret';
    if (file_exists($filename)) {
      echo nl2br(file_get_contents( "/secretstore/filesecret" ));
    } else {
      echo "no additional secrets found!"
    }
    echo '</p>'
?>
 </body>
</html>