Reapplied "Merge pull request #314 from Scriptkiddi/master"
This commit is contained in:
parent
c8719e89fa
commit
a2b9edc6a3
|
@ -26,6 +26,9 @@ return [
|
||||||
// Contact email address, linked on every page
|
// Contact email address, linked on every page
|
||||||
'contact_email' => 'mailto:ticket@c3heaven.de',
|
'contact_email' => 'mailto:ticket@c3heaven.de',
|
||||||
|
|
||||||
|
// From address of all emails
|
||||||
|
'no_reply_email' => 'noreply@engelsystem.de',
|
||||||
|
|
||||||
// Default theme of the start page, 1=style1.css
|
// Default theme of the start page, 1=style1.css
|
||||||
'theme' => 1,
|
'theme' => 1,
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ function engelsystem_email($address, $title, $message)
|
||||||
$address,
|
$address,
|
||||||
$title,
|
$title,
|
||||||
$message,
|
$message,
|
||||||
"Content-Type: text/plain; charset=UTF-8\r\nFrom: Engelsystem <noreply@engelsystem.de>"
|
sprintf("Content-Type: text/plain; charset=UTF-8\r\nFrom: Engelsystem <%s>", config('no_reply_email'))
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($result === false) {
|
if ($result === false) {
|
||||||
|
|
Loading…
Reference in New Issue