OSDN Git Service

BugTrack/2525 Top URL is equal to get_base_uri()
[pukiwiki/pukiwiki.git] / lib / html.php
index f0d5c8a..87d8085 100644 (file)
@@ -70,7 +70,7 @@ function catbody($title, $page, $body)
        $_LINK['rss10']    = "$script?cmd=rss&ver=1.0"; // Same as 'rdf'
        $_LINK['rss20']    = "$script?cmd=rss&ver=2.0";
        $_LINK['search']   = "$script?cmd=search";
-       $_LINK['top']      = get_page_uri($defaultpage);
+       $_LINK['top']      = get_base_uri();
        $_LINK['unfreeze'] = "$script?cmd=unfreeze&page=$r_page";
        $_LINK['upload']   = "$script?plugin=attach&pcmd=upload&page=$r_page";
        $_LINK['canonical_url'] = $canonical_url;