OSDN Git Service

Status: 301 Moved Permanently
authorhenoheno <henoheno>
Sun, 28 Nov 2004 04:52:43 +0000 (13:52 +0900)
committerhenoheno <henoheno>
Sun, 28 Nov 2004 04:52:43 +0000 (13:52 +0900)
plugin/rss10.inc.php

index 46f5b11..2ddf7b3 100644 (file)
@@ -1,19 +1,10 @@
 <?php
-/////////////////////////////////////////////////
-// PukiWiki - Yet another WikiWikiWeb clone.
-//
-// $Id: rss10.inc.php,v 1.13 2004/11/08 12:01:37 henoheno Exp $
-//
-// This plugin had been merged into rss plugin.
-// Please use it instead of.
-
-// Compat
+// RSS 1.0 plugin - had been merged into rss plugin
+// $Id: rss10.inc.php,v 1.14 2004/11/28 04:52:43 henoheno Exp $
 function plugin_rss10_action()
 {
-       global $vars;
-       exist_plugin('rss') or die('rss plugin not found');
-
-       $vars['ver'] = '1.0';
-       plugin_rss_action();
+       header('Status: 301 Moved Permanently');
+       header('Location: ' . $script . '?cmd=rss&ver=1.0'); // HTTP
+       exit;
 }
 ?>