diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-01-06 12:36:16 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-01-06 12:36:16 +0100 |
commit | 5e02c7f7bd152ce731a5d9796ba87bd72c2fb3fc (patch) | |
tree | 2b27638af2763632e3e27119d9fdea4f4a2bfd8b /lib | |
parent | b8ab062ef35a3c7463bd33ad6882f0adfc2a4f27 (diff) | |
download | nextcloud-server-5e02c7f7bd152ce731a5d9796ba87bd72c2fb3fc.tar.gz nextcloud-server-5e02c7f7bd152ce731a5d9796ba87bd72c2fb3fc.zip |
Theme update pages via CSS
* SCSS on-the-fly generation isn't allowed during update
* fallback to plain CSS
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 |