For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > December 2004 > cvs: php-news-web / common.inc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: php-news-web / common.inc
Wez Furlong

2004-12-24, 3:55 pm

wez Wed Dec 22 19:31:17 2004 EDT

Modified files:
/php-news-web common.inc
Log:
show http host rather than NNTP_HOST


http://cvs.php.net/diff.php/php-new...25&r2=1.26&ty=u
Index: php-news-web/common.inc
diff -u php-news-web/common.inc:1.25 php-news-web/common.inc:1.26
--- php-news-web/common.inc:1.25 Wed Dec 22 17:39:19 2004
+++ php-news-web/common.inc Wed Dec 22 19:31:16 2004
@@ -19,7 +19,7 @@
<a href="/index.php"><img src="/i/l.gif" border="0" width="120" height="64" alt="php" /></a>
</td>
<td align="right" valign="bottom">
- PHP.net <a href="news://<?php echo NNTP_HOST; ?>/" clas="top">news server</a> web interface
+ PHP.net <a href="news://<?php echo $_SERVER['HTTP_HOST']; ?>/" clas="top">news server</a> web interface
</td>
</tr>
<tr bgcolor="#333366">
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com