Allow to view progress view while update is running

This commit is contained in:
Jan Böhmer 2026-02-03 20:34:03 +01:00
parent cad5261aba
commit c34acfe523
2 changed files with 7 additions and 2 deletions

View file

@ -62,6 +62,11 @@ readonly class MaintenanceModeSubscriber implements EventSubscriberInterface
return;
}
//Allow to view the progress page
if (preg_match('#^/\w{2}/system/update-manager/progress#', $event->getRequest()->getPathInfo())) {
return;
}
// Allow CLI requests
if (PHP_SAPI === 'cli') {
return;