cvs: php-news-web / index.php
| From: | Wez Furlong | Date: | Thu, 23 Dec 2004 00:33:41 +0000 |
| Subject: | cvs: php-news-web / index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-26947@lists.php.net to get a copy of this message | ||
wez Wed Dec 22 19:33:41 2004 EDT
Modified files:
/php-news-web index.php
Log:
HTTP HOST again
http://cvs.php.net/diff.php/php-news-web/index.php?r1=1.6&r2=1.7&ty=u
Index: php-news-web/index.php
diff -u php-news-web/index.php:1.6 php-news-web/index.php:1.7
--- php-news-web/index.php:1.6 Wed Dec 22 17:39:19 2004
+++ php-news-web/index.php Wed Dec 22 19:33:40 2004
@@ -43,8 +43,8 @@
?>
<h1>Welcome!</h1>
<p>This is a completely experimental interface to the PHP mailing
-lists as reflected on the <a href="news://<?php echo
NNTP_HOST; ?>/">
-<?php echo NNTP_HOST; ?> NNTP server</a>.</p>
+lists as reflected on the <a href="news://<?php echo
$_SERVER['HTTP_HOST']; ?>/">
+<?php echo $_SERVER['HTTP_HOST']; ?> NNTP server</a>.</p>
<p>There may be a little more info <a href="README">here</a>.</p>
<p>The news server software that is used is also available from <a
href="http://trainedmonkey.com/colobus/">here</a>.</p>