Browse Source

Link in Emails nun https statt http

master
root 2 years ago
parent
commit
a0f2accc98
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      includes/Comment.class.php

+ 1
- 1
includes/Comment.class.php View File

@@ -386,7 +386,7 @@ class Comment extends ContextSource {
386 386
 			$comment_mailfrom .= "Content-type: text/html; charset=utf-8\r\n";
387 387
 			$comment_mailfrom .= "From: znil.net Kommentare <root@linz.email>\r\n";
388 388
 //			$comment_url = $znilpageTitle;
389
-			$comment_url = "<a href=\"http://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}\">http://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}</a>";
389
+			$comment_url = "<a href=\"https://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}\">https://znil.net/index.php?title={$znilpageTitle}#comment-{$commentId}</a>";
390 390
 //			$comment_url = "<a href=\"" . $title->getFullURL() . "\">" . $title->getFullURL() . "</a>";
391 391
 			$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;
392 392
 			$comment_mailtext = nl2br($comment_mailtext);

Loading…
Cancel
Save