Revision | 547fd56a9ee2aa0c1a7ad326af162d5c58620184 (tree) |
---|---|
Zeit | 2021-12-05 15:23:03 |
Autor | umorigu <umorigu@gmai...> |
Commiter | umorigu |
backup plugin
@@ -2,7 +2,7 @@ | ||
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | 3 | // backup.inc.php |
4 | 4 | // Copyright |
5 | -// 2002-2017 PukiWiki Development Team | |
5 | +// 2002-2021 PukiWiki Development Team | |
6 | 6 | // 2001-2002 Originally written by yu-ji |
7 | 7 | // License: GPL v2 or (at your option) any later version |
8 | 8 | // |
@@ -70,7 +70,7 @@ function plugin_backup_action() | ||
70 | 70 | |
71 | 71 | if ($is_page) { |
72 | 72 | $body .= ' <li>' . str_replace('$1', |
73 | - '<a href="' . $script . '?' . $r_page . '">' . $s_page . '</a>', | |
73 | + '<a href="' . get_page_uri($page) . '">' . $s_page . '</a>', | |
74 | 74 | $_msg_goto) . "\n"; |
75 | 75 | } else { |
76 | 76 | $body .= ' <li>' . str_replace('$1', $s_page, $_msg_deleted) . "\n"; |