From a0f2accc980a71976e90671d79c19ed1e44c7d25 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 22 May 2018 13:43:01 +0200 Subject: [PATCH] Link in Emails nun https statt http --- includes/Comment.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Comment.class.php b/includes/Comment.class.php index 00dcbd3..af0de6a 100644 --- a/includes/Comment.class.php +++ b/includes/Comment.class.php @@ -386,7 +386,7 @@ class Comment extends ContextSource { $comment_mailfrom .= "Content-type: text/html; charset=utf-8\r\n"; $comment_mailfrom .= "From: znil.net Kommentare \r\n"; // $comment_url = $znilpageTitle; - $comment_url = "http://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}"; + $comment_url = "https://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}"; // $comment_url = "getFullURL() . "\">" . $title->getFullURL() . ""; $comment_mailtext = $commentDate . "

" . $comment_url . "


" . "IP: " . $_SERVER['REMOTE_ADDR'] . "
" . "DNS: " . gethostbyaddr($_SERVER['REMOTE_ADDR']) ."

" . $kok_username . "

" . $text; $comment_mailtext = nl2br($comment_mailtext);