Browse Source
Merge pull request #53528 from nextcloud/jtr-maint-refresh-part-1
fix(maintenance): refresh page when turned off (sometimes)
pull/54344/head
Robin Appelman
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
lib/base.php
|
|
@ -243,6 +243,7 @@ class OC { |
|
|
|
// render error page
|
|
|
|
$template = Server::get(ITemplateManager::class)->getTemplate('', 'update.user', 'guest'); |
|
|
|
\OCP\Util::addScript('core', 'maintenance'); |
|
|
|
\OCP\Util::addScript('core', 'common'); |
|
|
|
\OCP\Util::addStyle('core', 'guest'); |
|
|
|
$template->printPage(); |
|
|
|
die(); |
|
|
|