From: Hypolite Petovan Date: Wed, 8 May 2019 12:30:59 +0000 (-0400) Subject: Break redirection loop during install X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=123c4610e75f93ff4f10d8e95d4829e1d414ab09;p=friendica.git Break redirection loop during install --- diff --git a/src/App.php b/src/App.php index 0f0c0537e4..41c50fda5d 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();