mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +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"]))
|
if(!isset($_GET["action"]) and !isset($_GET["page"]))
|
||||||
{
|
{
|
||||||
http_response_code(302);
|
http_response_code(302);
|
||||||
header("location: index.php?action=$settings->defaultaction&page=$defaultpage");
|
header("location: index.php?action=$settings->defaultaction&page=$settings->defaultpage");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
core.php
2
core.php
|
@ -294,7 +294,7 @@ else
|
||||||
if(!isset($_GET["action"]) and !isset($_GET["page"]))
|
if(!isset($_GET["action"]) and !isset($_GET["page"]))
|
||||||
{
|
{
|
||||||
http_response_code(302);
|
http_response_code(302);
|
||||||
header("location: index.php?action=$settings->defaultaction&page=$defaultpage");
|
header("location: index.php?action=$settings->defaultaction&page=$settings->defaultpage");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue