Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2720
Modified Files:
Tag: branch-smarty
rss.php
Log Message:
- Preserve BC
Index: rss.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/rss.php,v
retrieving revision 1.28.2.3
retrieving revision 1.28.2.4
diff -u -d -r1.28.2.3 -r1.28.2.4
--- rss.php 16 Oct 2004 17:27:12 -0000 1.28.2.3
+++ rss.php 17 Oct 2004 20:26:51 -0000 1.28.2.4
@@ -2,12 +2,14 @@
header('Content-Type: text/xml; charset=utf-8');
include_once('serendipity_config.inc.php');
-$version = strtolower($_GET['version']);
-
+$version = $_GET['version'];
$description = $serendipity['blogDescription'];
$title = $serendipity['blogTitle'];
$comments = FALSE;
+if ( empty($version) ) {
+ list($version) = serendipity_discover_rss($_GET['file'], $_GET['ext']);
+}
if (isset($_GET['category'])) {
$serendipity['GET']['category'] = $_GET['category'];
|