From 5e02c7f7bd152ce731a5d9796ba87bd72c2fb3fc Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 6 Jan 2017 12:36:16 +0100 Subject: Theme update pages via CSS * SCSS on-the-fly generation isn't allowed during update * fallback to plain CSS Signed-off-by: Morris Jobke --- lib/base.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/base.php b/lib/base.php index f235629120a..4023ebf14f9 100644 --- a/lib/base.php +++ b/lib/base.php @@ -281,6 +281,7 @@ class OC { // render error page $template = new OC_Template('', 'update.user', 'guest'); OC_Util::addScript('maintenance-check'); + OC_Util::addStyle('update'); $template->printPage(); die(); } @@ -354,6 +355,8 @@ class OC { header('Status: 503 Service Temporarily Unavailable'); header('Retry-After: 120'); + \OCP\Util::addStyle('update'); + // render error page $template = new OC_Template('', 'update.use-cli', 'guest'); $template->assign('productName', 'nextcloud'); // for now -- cgit v1.2.3