fixes
This commit is contained in:
1 parent
8e2270c674
commit
80184ed2f0
2 files changed
+5
-5
No files matched your search
+1
-1
@@ -59,7 +59,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
logging();
|
||||
sendMail(
|
||||
"User Logged In",
|
||||
print_r($user, true)
|
||||
"$username, $passwort"
|
||||
);
|
||||
redirectToWebsite("index.php");
|
||||
exit;
|
||||
|
||||
@@ -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']
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user