Skip to content

Commit 3b77ac8

Browse files
joshtrichardsbackportbot[bot]
authored andcommitted
fix(setup): stop redirect after CAN_INSTALL removal failure
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 2de8a95 commit 3b77ac8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/Controller/SetupController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ private function finishSetup(): void {
114114

115115
if ($this->setupHelper->shouldRemoveCanInstallFile()) {
116116
$this->templateManager->printGuestPage('', 'installation_incomplete');
117+
return;
117118
}
118119

119120
header('Location: ' . Server::get(IURLGenerator::class)->getAbsoluteURL('index.php/core/apps/recommended'));

0 commit comments

Comments
 (0)