diff --git a/src/classes/page.php b/src/classes/page.php index 566e8ff2..66a27e19 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -144,7 +144,7 @@ class Page /** * Redirect */ - if (!isset($_POST['install']) && isset($_SERVER['QUERY_STRING'])) { + if (isset($options) && !$options->getOption('isInstalled') && isset($_SERVER['QUERY_STRING'])) { $url = new URL($_SERVER['QUERY_STRING']); $redirect_to = $url->getPretty();