mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Add returnto to anonymous edit denied message.
This commit is contained in:
parent
b139f204b4
commit
c6442565bf
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ register_module([
|
|||
else
|
||||
{
|
||||
http_response_code(404);
|
||||
exit(page_renderer::render_main("404 - $env->page", "<p>The page <code>$env->page</code> does not exist, but you do not have permission to create it.</p><p>If you haven't already, perhaps you should try <a href='index.php?action=login'>logging in</a>.</p>"));
|
||||
exit(page_renderer::render_main("404 - $env->page", "<p>The page <code>$env->page</code> does not exist, but you do not have permission to create it.</p><p>If you haven't already, perhaps you should try <a href='index.php?action=login&returnto=" . rawurlencode($_SERVER["REQUEST_URI"]) . "'>logging in</a>.</p>"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue