diff options
author | Robin Appelman <robin@icewind.nl> | 2023-09-19 10:50:16 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-10-31 10:03:09 +0100 |
commit | 1fffa3eae0d702d17acc79893781801a8f319073 (patch) | |
tree | 479aab0ce1e9ad5842790309beb9c0af5859aabe /core/Controller | |
parent | 16bfe0cc65c3c4603c24d10c904c1aef39d5a9a2 (diff) | |
download | nextcloud-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.php | 8 |
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); } |