[FEATURE] Use caching framework in autoloader
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_extmgm.php
index 40bb15b..6a7a13f 100644 (file)
@@ -93,8 +93,8 @@ final class t3lib_extMgm {
 
                        $extensionPath = PATH_site . $GLOBALS['TYPO3_LOADED_EXT'][$key]['siteRelPath'];
                } else {
-                       $extensionList = $GLOBALS['TYPO3_CONF_VARS']['EXT']['requiredExt'] . ',' . $GLOBALS['TYPO3_CONF_VARS']['EXT']['extList'];
-                       $loadedExtensions = array_flip(array_unique(t3lib_div::trimExplode(',', $extensionList, 1)));
+                       $extensionList = self::getRequiredExtensionList() . ',' . $GLOBALS['TYPO3_CONF_VARS']['EXT']['extList'];
+                       $loadedExtensions = array_flip(array_unique(t3lib_div::trimExplode(',', $extensionList, TRUE)));
 
                        if (!isset($loadedExtensions[$key])) {
                                throw new BadFunctionCallException(
@@ -1684,4 +1684,4 @@ $GLOBALS[\'TYPO3_LOADED_EXT\'] = unserialize(stripslashes(\'' . addslashes(seria
        }
 }
 
-?>
+?>
\ No newline at end of file