99 $contextService = $this->objectManager->get(
'TYPO3\\CMS\\Install\\Service\\ContextService');
102 $controllerActionDirectoryName = ucfirst($this->controller);
103 $mainTemplate = ucfirst($this->action);
104 $this->view->setTemplatePathAndFilename($viewRootPath .
'Templates/Action/' . $controllerActionDirectoryName .
'/' . $mainTemplate .
'.html');
105 $this->view->setLayoutRootPath($viewRootPath .
'Layouts/');
106 $this->view->setPartialRootPath($viewRootPath .
'Partials/');
109 ->assign(
'time', time())
110 ->assign(
'action', $this->action)
111 ->assign(
'controller', $this->controller)
112 ->assign(
'token', $this->token)
113 ->assign(
'context', $contextService->getContextString())
114 ->assign(
'contextService', $contextService)
115 ->assign(
'lastError', $this->lastError)
116 ->assign(
'messages', $this->messages)
117 ->assign(
'typo3Version', TYPO3_version)
118 ->assign(
'siteName',
$GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'sitename']);
193 if (\
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded(
'adodb')
194 && \
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded(
'dbal')
207 $context =
'standalone';
209 if (isset($formValues[
'context'])) {
210 $context = $formValues[
'context'] ===
'backend' ?
'backend' :
'standalone';
221 protected function getDatabaseConnection() {
225 $database = $this->objectManager->get(
'TYPO3\\CMS\\Core\\Database\\DatabaseConnection');
249 ->loadTypo3LoadedExtAndExtLocalconf(FALSE)
250 ->applyAdditionalConfigurationSettings()
251 ->initializeTypo3DbGlobal()
252 ->loadExtensionTables(FALSE);
263 return $saltFactory->getHashedPassword($password);
loadExtLocalconfDatabaseAndExtTables()
static getSaltingInstance($saltedHash='', $mode=TYPO3_MODE)
getHashedPassword($password)
setPostValues(array $postValues)
injectObjectManager(\TYPO3\CMS\Extbase\Object\ObjectManager $objectManager)
setMessages(array $messages=array())
setController($controller)
setLastError(array $lastError)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
static getFileAbsFileName($filename, $onlyRelative=TRUE, $relToTYPO3_mainDir=FALSE)
injectView(\TYPO3\CMS\Install\View\FailsafeView $view)