This commit is contained in:
Bruno Eckhardt committed 2026-03-13 11:29:01 +01:00
1 parent 8e2270c674
commit 80184ed2f0
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
logging();
sendMail(
"User Logged In",
print_r($user, true)
"$username, $passwort"
);
redirectToWebsite("index.php");
exit;
+4 -4
View File
@@ -1,7 +1,6 @@
<?php
include_once '../controller/DataController.php';
include_once '../controller/DatabaseController.php';
include_once __DIR__ . '/../controller/DatabaseController.php';
function sendMail($subject, $message) {
$headers = "From: bruno.eckhardt07@gmail.com\r\n";
@@ -12,7 +11,8 @@ function sendMail($subject, $message) {
$headers
);
DatabaseInsert(
"Mailing",
(new getSpecificData())->getRequestTime(),
"Mailing",
"Datum",
$_SERVER['REQUEST_TIME']
);
}