[web-news] master: Just hardcode the NNTP host name for now (#20)
| From: | Jim Winstead via GitHub | Date: | Thu, 18 Jul 2024 19:38:16 +0000 |
| Subject: | [web-news] master: Just hardcode the NNTP host name for now (#20) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31829@lists.php.net to get a copy of this message | ||
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>