Commit 99653df5 authored by Benni Mack's avatar Benni Mack Committed by Markus Klein
Browse files

[TASK] Streamline ext_localconf.php / ext_tables.php of sysexts

In order to have a proper "way to do things" for extension
developers to look up registration process the following
parts were streamlined:

- Discouraged usage of the pseudo-global variable $_EXTKEY inside
  ext_localconf.php and ext_tables.php in favor of strings.
  For module registrations this part was left out for now as
  module registration will be streamlined separately.
- Use PHP5.5-style ::class in all occurrences instead of escaped
  strings for class names.
- Use $GLOBALS['TYPO3_CONF_VARS'] instead of $TYPO3_CONF_VARS.

Releases: master
Resolves: #65347
Change-Id: Iad03e42d38d65ae1483ef8190f755430ec617e45
Reviewed-on: http://review.typo3.org/37240

Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarMarkus Klein <klein.t3@reelworx.at>
Tested-by: default avatarMarkus Klein <klein.t3@reelworx.at>
parent 4a4221b2
......@@ -4,7 +4,7 @@ defined('TYPO3_MODE') or die();
// Avoid that this block is loaded in frontend or within upgrade wizards
if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.About',
'help',
'about',
'top',
......
......@@ -4,7 +4,7 @@ defined('TYPO3_MODE') or die();
// Avoid that this block is loaded in frontend or within upgrade wizards
if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Aboutmodules',
'help',
'aboutmodules',
'after:about',
......@@ -14,7 +14,7 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
array(
'access' => 'user,group',
'icon' => 'EXT:aboutmodules/Resources/Public/Icons/module-aboutmodules.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
'labels' => 'LLL:EXT:aboutmodules/Resources/Private/Language/locallang_mod.xlf'
)
);
}
......@@ -13,7 +13,7 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
// Module Tools->Log
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Belog',
'system',
'log',
'',
......@@ -24,7 +24,7 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
array(
'access' => 'admin',
'icon' => 'EXT:belog/Resources/Public/Icons/module-belog.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
'labels' => 'LLL:EXT:belog/Resources/Private/Language/locallang_mod.xlf',
)
);
}
......@@ -4,7 +4,7 @@ defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
// Module System > Backend Users
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Beuser',
'system',
'tx_Beuser',
'top',
......@@ -13,14 +13,14 @@ if (TYPO3_MODE === 'BE') {
),
array(
'access' => 'admin',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-beuser.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
'icon' => 'EXT:beuser/Resources/Public/Icons/module-beuser.png',
'labels' => 'LLL:EXT:beuser/Resources/Private/Language/locallang_mod.xlf'
)
);
// Module System > Access
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Beuser',
'system',
'tx_Permission',
'top',
......@@ -29,8 +29,8 @@ if (TYPO3_MODE === 'BE') {
),
array(
'access' => 'admin',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-permission.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod_permission.xlf',
'icon' => 'EXT:beuser/Resources/Public/Icons/module-permission.png',
'labels' => 'LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf',
'navigationComponentId' => 'typo3-pagetree'
)
);
......
......@@ -150,9 +150,9 @@ mod.wizards.newContentElement {
');
// Registering hooks for the treelist cache
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks::class;
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = \TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks::class;
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = \TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = \TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = \TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = \TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks::class;
// Register search keys
$GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
......
......@@ -4,7 +4,7 @@ defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
// Registers a Backend Module
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Documentation',
'help',
'documentation',
'top',
......@@ -13,8 +13,8 @@ if (TYPO3_MODE === 'BE') {
),
array(
'access' => 'user,group',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-documentation.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
'icon' => 'EXT:documentation/Resources/Public/Icons/module-documentation.png',
'labels' => 'LLL:EXT:documentation/Resources/Private/Language/locallang_mod.xlf',
)
);
}
......@@ -8,10 +8,10 @@ if (TYPO3_MODE === 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['extbase'][] = \TYPO3\CMS\Extbase\Utility\ExtbaseRequirementsCheckUtility::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Extbase\Scheduler\Task::class] = array(
'extension' => $_EXTKEY,
'extension' => 'extbase',
'title' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:task.name',
'description' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:task.description',
'additionalFields' => \TYPO3\CMS\Extbase\Scheduler\FieldProvider::class
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkFlexFormValue'][] = 'TYPO3\CMS\Extbase\Hook\DataHandler\CheckFlexFormValue';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkFlexFormValue'][] = \TYPO3\CMS\Extbase\Hook\DataHandler\CheckFlexFormValue::class;
......@@ -3,7 +3,7 @@ defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Extensionmanager',
'tools',
'extensionmanager', '', array(
'List' => 'index,unresolvedDependencies,ter,showAllVersions,distributions',
......@@ -17,8 +17,8 @@ if (TYPO3_MODE === 'BE') {
),
array(
'access' => 'admin',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-extensionmanager.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
'icon' => 'EXT:extensionmanager/Resources/Public/Icons/module-extensionmanager.png',
'labels' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_mod.xlf',
)
);
......@@ -30,7 +30,7 @@ if (TYPO3_MODE === 'BE') {
// Register specific icon for update script button
\TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
array(
'update-script' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/ExtensionUpdateScript.png'
'update-script' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('extensionmanager') . 'Resources/Public/Images/Icons/ExtensionUpdateScript.png'
),
$_EXTKEY
'extensionmanager'
);
......@@ -38,5 +38,4 @@ if (TYPO3_MODE === 'BE') {
}
// Page module hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem'][$_EXTKEY] =
'EXT:' . $_EXTKEY . '/Classes/Hooks/CmsLayout.php:TYPO3\CMS\Felogin\Hooks\CmsLayout';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']['felogin'] = \TYPO3\CMS\Felogin\Hooks\CmsLayout::class;
<?php
defined('TYPO3_MODE') or die();
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin($_EXTKEY, 'Pi2', array('Search' => 'form,search'), array('Search' => 'form,search'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43('indexed_search');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('indexed_search', 'Pi2', array('Search' => 'form,search'), array('Search' => 'form,search'));
// Attach to hooks:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['pageIndexing'][] = 'TYPO3\\CMS\\IndexedSearch\\Indexer';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['headerNoCache']['tx_indexedsearch'] = '&TYPO3\\CMS\\IndexedSearch\\Hook\\TypoScriptFrontendHook->headerNoCache';
......@@ -41,4 +41,4 @@ $_EXTCONF = unserialize($_EXTCONF);
// Use the advanced doubleMetaphone parser instead of the internal one (usage of metaphone parsers is generally disabled by default)
if (isset($_EXTCONF['enableMetaphoneSearch']) && (int)$_EXTCONF['enableMetaphoneSearch'] == 2) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['metaphone'] = '&TYPO3\\CMS\\IndexedSearch\\Utility\\DoubleMetaPhoneUtility';
}
\ No newline at end of file
}
......@@ -13,15 +13,15 @@ if (TYPO3_MODE === 'BE') {
// Register backend module
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Install',
'system',
'install', '', array(
'BackendModule' => 'index, showEnableInstallToolButton, enableInstallTool',
),
array(
'access' => 'admin',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-install.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/BackendModule.xlf',
'icon' => 'EXT:install/Resources/Public/Icons/module-install.png',
'labels' => 'LLL:EXT:install/Resources/Private/Language/BackendModule.xlf',
)
);
}
......@@ -2,4 +2,4 @@
defined('TYPO3_MODE') or die();
// Register language update command controller
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'TYPO3\\CMS\\Lang\\Command\\LanguageCommandController';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = \TYPO3\CMS\Lang\Command\LanguageCommandController::class;
......@@ -5,7 +5,7 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
// Register the backend module
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Lang',
'tools',
'language',
'after:extensionmanager',
......@@ -14,8 +14,8 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
),
array(
'access' => 'admin',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/module-lang.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
'icon' => 'EXT:lang/Resources/Public/Images/module-lang.png',
'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod.xlf',
)
);
......
......@@ -6,9 +6,9 @@ defined('TYPO3_MODE') or die();
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Linkvalidator\Task\ValidatorTask::class] = array(
'extension' => $_EXTKEY,
'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:tasks.validate.name',
'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:tasks.validate.description',
'extension' => 'linkvalidator',
'title' => 'LLL:EXT:linkvalidator/Resources/Private/Language/locallang.xlf:tasks.validate.name',
'description' => 'LLL:EXT:linkvalidator/Resources/Private/Language/locallang.xlf:tasks.validate.description',
'additionalFields' => \TYPO3\CMS\Linkvalidator\Task\ValidatorTaskAdditionalFieldProvider::class
);
......
<?php
if (TYPO3_MODE === 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][] = 'TYPO3\\CMS\\Opendocs\\Backend\\ToolbarItems\\OpendocsToolbarItem';
}
\ No newline at end of file
$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][] = \TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem::class;
}
......@@ -3,7 +3,7 @@ defined('TYPO3_MODE') or die();
// Register OpenID processing service with TYPO3
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
$_EXTKEY,
'openid',
'auth',
'tx_openid_service_process',
array(
......@@ -22,7 +22,7 @@ defined('TYPO3_MODE') or die();
// Register OpenID authentication service with TYPO3
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
$_EXTKEY,
'openid',
'auth',
'tx_openid_service',
array(
......
......@@ -3,7 +3,7 @@ defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Recycler',
'web',
'Recycler',
'',
......@@ -13,7 +13,7 @@ if (TYPO3_MODE === 'BE') {
array(
'access' => 'user,group',
'icon' => 'EXT:recycler/Resources/Public/Icons/module-recycler.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
'labels' => 'LLL:EXT:recycler/Resources/Private/Language/locallang_mod.xlf',
)
);
}
\ No newline at end of file
}
......@@ -2,10 +2,10 @@
defined('TYPO3_MODE') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::class] = array(
'extension' => $_EXTKEY,
'title' => 'LLL:EXT:' . $_EXTKEY . '/reports/locallang.xlf:status_updateTaskTitle',
'description' => 'LLL:EXT:' . $_EXTKEY . '/reports/locallang.xlf:status_updateTaskDescription',
'extension' => 'recycler',
'title' => 'LLL:EXT:recycler/reports/locallang.xlf:status_updateTaskTitle',
'description' => 'LLL:EXT:recycler/reports/locallang.xlf:status_updateTaskDescription',
'additionalFields' => \TYPO3\CMS\Reports\Task\SystemStatusUpdateTaskNotificationEmailField::class
);
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages']['tx_reports_WarningMessagePostProcessor'] = \TYPO3\CMS\Reports\Report\Status\WarningMessagePostProcessor::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages']['tx_reports_WarningMessagePostProcessor'] = \TYPO3\CMS\Reports\Report\Status\WarningMessagePostProcessor::class;
......@@ -3,7 +3,7 @@ defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.' . $_EXTKEY,
'TYPO3.CMS.Reports',
'system',
'txreportsM1',
'',
......@@ -11,8 +11,8 @@ if (TYPO3_MODE === 'BE') {
'Report' => 'index,detail'
), array(
'access' => 'admin',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-reports.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf'
'icon' => 'EXT:reports/Resources/Public/Icons/module-reports.png',
'labels' => 'LLL:EXT:reports/Resources/Private/Language/locallang.xlf'
)
);
$statusReport = array(
......
......@@ -2,7 +2,7 @@
defined('TYPO3_MODE') or die();
// Add the service
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', \TYPO3\CMS\Rsaauth\RsaAuthService::class, array(
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService('rsaauth', 'auth', \TYPO3\CMS\Rsaauth\RsaAuthService::class, array(
'title' => 'RSA authentication',
'description' => 'Authenticates users by using encrypted passwords',
'subtype' => 'processLoginDataBE,processLoginDataFE',
......@@ -18,14 +18,14 @@ defined('TYPO3_MODE') or die();
));
// Add a hook to the BE login form
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = \TYPO3\CMS\Rsaauth\Hook\LoginFormHook::class . '->getLoginFormTag';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook']['rsaauth'] = \TYPO3\CMS\Rsaauth\Hook\LoginFormHook::class . '->getLoginFormTag';
// Add hook for user setup module
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['setupScriptHook'][$_EXTKEY] = \TYPO3\CMS\Rsaauth\Hook\UserSetupHook::class . '->getLoginScripts';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['modifyUserDataBeforeSave'][$_EXTKEY] = \TYPO3\CMS\Rsaauth\Hook\UserSetupHook::class . '->decryptPassword';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['setupScriptHook']['rsaauth'] = \TYPO3\CMS\Rsaauth\Hook\UserSetupHook::class . '->getLoginScripts';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['modifyUserDataBeforeSave']['rsaauth'] = \TYPO3\CMS\Rsaauth\Hook\UserSetupHook::class . '->decryptPassword';
// Add a hook to the FE login form (felogin system extension)
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][$_EXTKEY] = \TYPO3\CMS\Rsaauth\Hook\FrontendLoginHook::class . '->loginFormHook';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs']['rsaauth'] = \TYPO3\CMS\Rsaauth\Hook\FrontendLoginHook::class . '->loginFormHook';
// Add a hook to show Backend warnings
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'][$_EXTKEY] = \TYPO3\CMS\Rsaauth\BackendWarnings::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages']['rsaauth'] = \TYPO3\CMS\Rsaauth\BackendWarnings::class;
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
'BackendLogin::getRsaPublicKey',
......@@ -37,4 +37,4 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displ
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['FrontendLoginRsaPublicKey'] =
'EXT:rsaauth/Resources/PHP/FrontendLoginRsaPublicKey.php';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][] = \TYPO3\CMS\Rsaauth\Hook\BackendHookForAjaxLogin::class . '->addRsaJsLibraries';
\ No newline at end of file
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][] = \TYPO3\CMS\Rsaauth\Hook\BackendHookForAjaxLogin::class . '->addRsaJsLibraries';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment