OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-jp-ancient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added NP_SkinFiles
[nucleus-jp/nucleus-jp-ancient.git]
/
euc
/
xml-rss2.php
diff --git
a/euc/xml-rss2.php
b/euc/xml-rss2.php
index
5af9419
..
50cc02c
100755
(executable)
--- a/
euc/xml-rss2.php
+++ b/
euc/xml-rss2.php
@@
-2,7
+2,7
@@
\r
/**
\r
* Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
\r
\r
/**
\r
* Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
\r
- * Copyright (C) 2002-200
4
The Nucleus Group
\r
+ * Copyright (C) 2002-200
5
The Nucleus Group
\r
*
\r
* This program is free software; you can redistribute it and/or
\r
* modify it under the terms of the GNU General Public License
\r
*
\r
* This program is free software; you can redistribute it and/or
\r
* modify it under the terms of the GNU General Public License
\r
@@
-38,6
+38,8
@@
if (!$CONF['DisableSite']) {
header("HTTP/1.0 304 Not Modified");
\r
header('Content-Length: 0');
\r
} else {
\r
header("HTTP/1.0 304 Not Modified");
\r
header('Content-Length: 0');
\r
} else {
\r
+ $feed = mb_convert_encoding($feed, "UTF-8", "EUC-JP");
\r
+ header("Content-Type: application/xml");
\r
// dump feed
\r
echo $feed;
\r
}
\r
// dump feed
\r
echo $feed;
\r
}
\r