load script and styles on setup page

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/40494/head
Robin Appelman 8 months ago committed by John Molakvoæ
parent 16bfe0cc65
commit 1fffa3eae0
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF

@ -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);
}

Loading…
Cancel
Save