Author: Jim Winstead (jimwins)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2024-07-18T20:38:12+01:00

Commit: 
https://github.com/php/web-news/commit/b21b59d067bed04f1452f8765bf4b42baa3578fb
Raw diff: 
https://github.com/php/web-news/commit/b21b59d067bed04f1452f8765bf4b42baa3578fb.diff

Just hardcode the NNTP host name for now (#20)

* Show the correct NNTP hostname, which may not be the HTTP host

* Just hardcode the name for now

Changed paths:
  M  index.php


Diff:

diff --git a/index.php b/index.php
index 324a191..021ce80 100644
--- a/index.php
+++ b/index.php
@@ -30,8 +30,7 @@
    <h1>PHP Mailing Lists</h1>
    <p>
     This is a completely experimental interface to the PHP mailing lists as
-    reflected on the <a href="news://<?php echo 
htmlspecialchars(NNTP_HOST,ENT_QUOTES,"UTF-8"); ?>/">
-    <?php echo htmlspecialchars(NNTP_HOST, ENT_QUOTES, "UTF-8"); ?> NNTP 
server</a>.
+    reflected on the <a href="news://news.php.net/";>news.php.net NNTP 
server</a>.
     The news server software that is used is <a
       href="https://trainedmonkey.com/projects/colobus/";>colobus</a>.
    </p>

Reply via email to