Skip to content

Commit

Permalink
Merge pull request #40494 from nextcloud/setup-script
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Oct 31, 2023
2 parents 16bfe0c + 1fffa3e commit 43270c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/Controller/SetupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
namespace OC\Core\Controller;

use OC\Setup;
use OCP\Util;
use Psr\Log\LoggerInterface;

class SetupController {
Expand Down Expand Up @@ -96,6 +97,13 @@ public function display($post): void {
];
$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);
}

Expand Down

0 comments on commit 43270c6

Please sign in to comment.