aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-09-19 10:50:16 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-10-31 10:03:09 +0100
commit1fffa3eae0d702d17acc79893781801a8f319073 (patch)
tree479aab0ce1e9ad5842790309beb9c0af5859aabe /core/Controller
parent16bfe0cc65c3c4603c24d10c904c1aef39d5a9a2 (diff)
downloadnextcloud-server-1fffa3eae0d702d17acc79893781801a8f319073.tar.gz
nextcloud-server-1fffa3eae0d702d17acc79893781801a8f319073.zip
load script and styles on setup page
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/SetupController.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php
index c6da7ca26f7..0f1fa1c495e 100644
--- a/core/Controller/SetupController.php
+++ b/core/Controller/SetupController.php
@@ -32,6 +32,7 @@
namespace OC\Core\Controller;
use OC\Setup;
+use OCP\Util;
use Psr\Log\LoggerInterface;
class SetupController {
@@ -96,6 +97,13 @@ class SetupController {
];
$parameters = array_merge($defaults, $post);
+ Util::addStyle('server', null);
+
+ // include common nextcloud webpack bundle
+ Util::addScript('core', 'common');
+ Util::addScript('core', 'main');
+ Util::addTranslations('core');
+
\OC_Template::printGuestPage('', 'installation', $parameters);
}