]> git.mxchange.org Git - friendica.git/commitdiff
Fix installation
authorMichael <heluecht@pirati.ca>
Mon, 4 Nov 2024 20:27:17 +0000 (20:27 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 4 Nov 2024 20:27:17 +0000 (20:27 +0000)
src/Module/Install.php

index f9d9782250da1901e2f162f3f31bdf9d021046c1..171474e6a31bbe483ad93dc3ed600be089c1e4f5 100644 (file)
@@ -87,7 +87,7 @@ class Install extends BaseModule
                // so we may not have a css at all. Here we set a static css file for the install procedure pages
                Renderer::$theme['stylesheet'] = $this->baseUrl . '/view/install/style.css';
 
-               $this->currentWizardStep = ($_POST['pass'] ?? '') ?: self::SYSTEM_CHECK;
+               $this->currentWizardStep = ($_REQUEST['pass'] ?? '') ?: self::SYSTEM_CHECK;
        }
 
        protected function post(array $request = [])
@@ -164,6 +164,7 @@ class Install extends BaseModule
 
                                break;
                }
+               DI::baseUrl()->redirect('install?pass=' . $this->currentWizardStep);
        }
 
        protected function content(array $request = []): string