cvs: php-bugs-web /rss bug.php search.php
| From: | Sara Golemon | Date: | Wed, 01 Sep 2004 17:07:49 +0000 |
| Subject: | cvs: php-bugs-web /rss bug.php search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-26022@lists.php.net to get a copy of this message | ||
pollita Wed Sep 1 13:07:49 2004 EDT
Modified files:
/php-bugs-web/rss search.php bug.php
Log:
Content-type
http://cvs.php.net/diff.php/php-bugs-web/rss/search.php?r1=1.2&r2=1.3&ty=u
Index: php-bugs-web/rss/search.php
diff -u php-bugs-web/rss/search.php:1.2 php-bugs-web/rss/search.php:1.3
--- php-bugs-web/rss/search.php:1.2 Wed Sep 1 00:25:34 2004
+++ php-bugs-web/rss/search.php Wed Sep 1 13:07:49 2004
@@ -109,6 +109,8 @@
die('Error: ' . htmlentities(mysql_error()));
}
+header('Content-type: text/xml');
+
echo <<<EOD
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
http://cvs.php.net/diff.php/php-bugs-web/rss/bug.php?r1=1.7&r2=1.8&ty=u
Index: php-bugs-web/rss/bug.php
diff -u php-bugs-web/rss/bug.php:1.7 php-bugs-web/rss/bug.php:1.8
--- php-bugs-web/rss/bug.php:1.7 Thu Aug 5 09:57:13 2004
+++ php-bugs-web/rss/bug.php Wed Sep 1 13:07:49 2004
@@ -43,6 +43,7 @@
outputFooter($format);
function outputHeader($bug,$format) {
+ header('Content-type: text/xml');
switch ($format) {
case 'xml':
echo "<phpbug>\n";