2 namespace TYPO3\CMS\Install\Controller\Action\Ajax;
57 $this->protocolFile = PATH_site .
'typo3temp/ExtensionCompatibilityTester.txt';
58 $this->errorProtocolFile = PATH_site .
'typo3temp/ExtensionCompatibilityTesterErrors.json';
70 register_shutdown_function(array($this,
'logError'));
72 if (isset($getVars[
'extensionCompatibilityTester']) && isset($getVars[
'extensionCompatibilityTester'][
'forceCheck']) && ($getVars[
'extensionCompatibilityTester'][
'forceCheck'] == 1)) {
86 if (file_exists($this->protocolFile)) {
87 unlink($this->protocolFile);
89 if (file_exists($this->errorProtocolFile)) {
90 unlink($this->errorProtocolFile);
103 $extensionsToLoad = array();
105 foreach (
$GLOBALS[
'TYPO3_LOADED_EXT'] as $key => $extension) {
106 if (!in_array($key, $extensionsToExclude)) {
107 $extensionsToLoad[$key] = $extension;
110 return $extensionsToLoad;
136 foreach ($extensions as $extensionKey => $extension) {
141 ExtensionManagementUtility::loadBaseTca(
false);
142 foreach ($extensions as $extensionKey => $extension) {
161 global $T3_SERVICES, $T3_VAR, $TYPO3_CONF_VARS;
162 global $TBE_MODULES, $TBE_MODULES_EXT, $TCA;
163 global $PAGES_TYPES, $TBE_STYLES;
166 $_EXTKEY = $extensionKey;
167 if (isset($extension[
'ext_tables.php']) && $extension[
'ext_tables.php']) {
171 require $extension[
'ext_tables.php'];
190 global $TYPO3_CONF_VARS;
191 $_EXTKEY = $extensionKey;
192 if (isset($extension[
'ext_localconf.php']) && $extension[
'ext_localconf.php']) {
196 require $extension[
'ext_localconf.php'];
210 $incompatibleExtensions = array_merge($incompatibleExtensions, array($extensionKey));
224 $extensionsByKey = array_flip($extensionsInFile);
225 unset($extensionsByKey[$extensionKey]);
226 $extensionsForFile = array_flip($extensionsByKey);
247 if (file_exists($this->errorProtocolFile)) {