From 123c4610e75f93ff4f10d8e95d4829e1d414ab09 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 8 May 2019 08:30:59 -0400 Subject: [PATCH] Break redirection loop during install --- src/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.php b/src/App.php index 0f0c0537e..41c50fda5 100644 --- a/src/App.php +++ b/src/App.php @@ -1079,7 +1079,7 @@ class App // but we need "view" module for stylesheet if ($this->getMode()->isInstall() && $this->module !== 'install') { $this->internalRedirect('install'); - } elseif (!$this->getMode()->has(App\Mode::MAINTENANCEDISABLED) && $this->module !== 'maintenance') { + } elseif (!$this->getMode()->isInstall() && !$this->getMode()->has(App\Mode::MAINTENANCEDISABLED) && $this->module !== 'maintenance') { $this->internalRedirect('maintenance'); } else { $this->checkURL();