mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-25 14:45:02 +00:00
Bugfix: Redirect to invalid default page
This commit is contained in:
parent
28234dc775
commit
f5af74e867
2 changed files with 2 additions and 2 deletions
|
@ -515,7 +515,7 @@ else
|
|||
if(!isset($_GET["action"]) and !isset($_GET["page"]))
|
||||
{
|
||||
http_response_code(302);
|
||||
header("location: index.php?action=$settings->defaultaction&page=$defaultpage");
|
||||
header("location: index.php?action=$settings->defaultaction&page=$settings->defaultpage");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
2
core.php
2
core.php
|
@ -294,7 +294,7 @@ else
|
|||
if(!isset($_GET["action"]) and !isset($_GET["page"]))
|
||||
{
|
||||
http_response_code(302);
|
||||
header("location: index.php?action=$settings->defaultaction&page=$defaultpage");
|
||||
header("location: index.php?action=$settings->defaultaction&page=$settings->defaultpage");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue