Link in Emails nun https statt http
This commit is contained in:
parent
1f06efdea3
commit
a0f2accc98
@ -386,7 +386,7 @@ class Comment extends ContextSource {
|
|||||||
$comment_mailfrom .= "Content-type: text/html; charset=utf-8\r\n";
|
$comment_mailfrom .= "Content-type: text/html; charset=utf-8\r\n";
|
||||||
$comment_mailfrom .= "From: znil.net Kommentare <root@linz.email>\r\n";
|
$comment_mailfrom .= "From: znil.net Kommentare <root@linz.email>\r\n";
|
||||||
// $comment_url = $znilpageTitle;
|
// $comment_url = $znilpageTitle;
|
||||||
$comment_url = "<a href=\"http://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}\">http://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}</a>";
|
$comment_url = "<a href=\"https://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}\">https://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}</a>";
|
||||||
// $comment_url = "<a href=\"" . $title->getFullURL() . "\">" . $title->getFullURL() . "</a>";
|
// $comment_url = "<a href=\"" . $title->getFullURL() . "\">" . $title->getFullURL() . "</a>";
|
||||||
$comment_mailtext = $commentDate . "<br><br>" . $comment_url . "<br><br><hr>" . "IP: " . $_SERVER['REMOTE_ADDR'] . "<br>" . "DNS: " . gethostbyaddr($_SERVER['REMOTE_ADDR']) ."<br><br>" . $kok_username . "<br><br>" . $text;
|
$comment_mailtext = $commentDate . "<br><br>" . $comment_url . "<br><br><hr>" . "IP: " . $_SERVER['REMOTE_ADDR'] . "<br>" . "DNS: " . gethostbyaddr($_SERVER['REMOTE_ADDR']) ."<br><br>" . $kok_username . "<br><br>" . $text;
|
||||||
$comment_mailtext = nl2br($comment_mailtext);
|
$comment_mailtext = nl2br($comment_mailtext);
|
||||||
|
Loading…
Reference in New Issue
Block a user