summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-01-06 12:36:16 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-01-06 12:36:16 +0100
commit5e02c7f7bd152ce731a5d9796ba87bd72c2fb3fc (patch)
tree2b27638af2763632e3e27119d9fdea4f4a2bfd8b /lib/base.php
parentb8ab062ef35a3c7463bd33ad6882f0adfc2a4f27 (diff)
downloadnextcloud-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/base.php')
-rw-r--r--lib/base.php3
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