From f5af74e8677a03db8754b1c4bb92af4d867e317f Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 19 Sep 2015 10:24:20 +0100 Subject: [PATCH] Bugfix: Redirect to invalid default page --- build/index.php | 2 +- core.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/index.php b/build/index.php index d9dd80a..9732fb5 100644 --- a/build/index.php +++ b/build/index.php @@ -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(); } diff --git a/core.php b/core.php index 7c44965..75cc003 100644 --- a/core.php +++ b/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(); }