cvs: php-gtk-web / docs-rss.php
| From: | Ben Ramsey | Date: | Thu, 09 Sep 2004 00:47:30 +0000 |
| Subject: | cvs: php-gtk-web / docs-rss.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-2602@lists.php.net to get a copy of this message | ||
ramsey Wed Sep 8 20:47:30 2004 EDT
Modified files:
/php-gtk-web docs-rss.php
Log:
Explicitly set the content type header to "application/rss+xml".
http://cvs.php.net/diff.php/php-gtk-web/docs-rss.php?r1=1.1&r2=1.2&ty=u
Index: php-gtk-web/docs-rss.php
diff -u php-gtk-web/docs-rss.php:1.1 php-gtk-web/docs-rss.php:1.2
--- php-gtk-web/docs-rss.php:1.1 Wed Aug 4 20:53:52 2004
+++ php-gtk-web/docs-rss.php Wed Sep 8 20:47:30 2004
@@ -1,7 +1,10 @@
<?php
/*
- * $Id: docs-rss.php,v 1.1 2004/08/05 00:53:52 ramsey Exp $
+ * $Id: docs-rss.php,v 1.2 2004/09/09 00:47:30 ramsey Exp $
*/
+
+// Send the appropriate header
+header('Content-type: application/rss+xml');
// Start output buffering in order to grab the data from the documentation
// CVS updates file (that is echoed when included) and save to a variable