Skip to content
Snippets Groups Projects
Commit bd4ffcca authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Update the Extension configuration for licensing

parent 28740bbe
No related branches found
No related tags found
1 merge request!3[BUGFIX] Prevent undefined index notice and proper errorHandler integers
......@@ -69,9 +69,7 @@ $paidExtensionKeys = [
'sg_routes'
];
foreach($paidExtensionKeys as $extensionKey) {
if (isset($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$extensionKey])) {
$extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$extensionKey], [FALSE]);
$extensionConfiguration['key'] = 'XXXXXX-XXXXXX-XXXXXX-XXXXXX';
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$extensionKey] = serialize($extensionConfiguration);
if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey])) {
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey]['key'] = 'XXXXXX-XXXXXX-XXXXXX-XXXXXX';
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment