getRequest()->setControllerExtensionName('Install'); $view->setTemplatePathAndFilename($viewRootPath . 'Templates/' . $templatePath); $view->setLayoutRootPaths([$viewRootPath . 'Layouts/']); $view->setPartialRootPaths([$viewRootPath . 'Partials/']); $view->assignMultiple([ 'controller' => $request->getQueryParams()['install']['controller'] ?? 'maintenance', 'context' => $request->getQueryParams()['install']['context'] ?? '', 'composerMode' => Environment::isComposerMode(), ]); return $view; } /** * Some actions like the database analyzer and the upgrade wizards need additional * bootstrap actions performed. * * Those actions can potentially fatal if some old extension is loaded that triggers * a fatal in ext_localconf or ext_tables code! Use only if really needed. */ protected function loadExtLocalconfDatabaseAndExtTables() { \TYPO3\CMS\Core\Core\Bootstrap::loadTypo3LoadedExtAndExtLocalconf(false); \TYPO3\CMS\Core\Core\Bootstrap::unsetReservedGlobalVariables(); \TYPO3\CMS\Core\Core\Bootstrap::loadBaseTca(false); \TYPO3\CMS\Core\Core\Bootstrap::loadExtTables(false); } }