OSDN Git Service

BugTrack/2213 Set Absolute URI or Root relative path
[pukiwiki/pukiwiki.git] / plugin / rss10.inc.php
index 0b7cf4a..16ab51a 100644 (file)
@@ -1,12 +1,14 @@
 <?php
+// PukiWiki - Yet another WikiWikiWeb clone
+// rss10.inc.php
+// Copyright 2003-2017 PukiWiki Development Team
+//
 // RSS 1.0 plugin - had been merged into rss plugin
-// $Id: rss10.inc.php,v 1.17 2005/09/24 01:16:43 henoheno Exp $
 
 function plugin_rss10_action()
 {
        pkwk_headers_sent();
        header('Status: 301 Moved Permanently');
-       header('Location: ' . get_script_uri() . '?cmd=rss&ver=1.0'); // HTTP
+       header('Location: ' . get_script_uri(PKWK_URI_ROOT) . '?cmd=rss&ver=1.0'); // HTTP
        exit;
 }
-?>