aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-10-31 11:03:25 +0100
committerGitHub <noreply@github.com>2023-10-31 11:03:25 +0100
commit43270c64ed3b72d09b58f11128875db0b0038703 (patch)
tree479aab0ce1e9ad5842790309beb9c0af5859aabe
parent16bfe0cc65c3c4603c24d10c904c1aef39d5a9a2 (diff)
parent1fffa3eae0d702d17acc79893781801a8f319073 (diff)
downloadnextcloud-server-43270c64ed3b72d09b58f11128875db0b0038703.tar.gz
nextcloud-server-43270c64ed3b72d09b58f11128875db0b0038703.zip
Merge pull request #40494 from nextcloud/setup-script
-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);
}