mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
load script and styles on setup page
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
16bfe0cc65
commit
1fffa3eae0
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Reference in a new issue