Implementierung
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
$token = basename($_GET["token"] ?? "");
|
||||
$file = "data/mails/" . $token . ".html";
|
||||
|
||||
if (!file_exists($file)) {
|
||||
echo "<p>Datei nicht gefunden.</p>";
|
||||
exit();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<main class="login-page">
|
||||
<div class="login-container">
|
||||
<h1>Simulierte E-Mail</h1>
|
||||
|
||||
<?php include $file; ?>
|
||||
</div>
|
||||
</main>
|
||||
Reference in New Issue
Block a user