Bug #23976 ยป 16290_em_autoload_.diff
t3lib/core_autoload.php (revision ) | ||
---|---|---|
$tslibClasses = require(PATH_typo3 . 'sysext/cms/ext_autoload.php');
|
||
$emClasses = array();
|
||
$emClasses = require(PATH_typo3 . 'sysext/em/ext_autoload.php');
|
||
return array_merge($t3libClasses, $tslibClasses, $emClasses);
|
||
return array_merge($t3libClasses, $tslibClasses);
|
||
?>
|
t3lib/class.t3lib_autoloader.php (revision ) | ||
---|---|---|
*/
|
||
static protected function attemptToLoadRegistryForGivenClassName($className) {
|
||
$classNameParts = explode('_', $className);
|
||
if ($classNameParts[0] === 'em') {
|
||
$extensionPrefix = 'tx_em';
|
||
} else {
|
||
$extensionPrefix = array_shift($classNameParts) . '_' . array_shift($classNameParts);
|
||
$extensionPrefix = array_shift($classNameParts) . '_' . array_shift($classNameParts);
|
||
}
|
||
$extensionKey = t3lib_extMgm::getExtensionKeyByPrefix($extensionPrefix);
|
||
if (!$extensionKey || array_key_exists($extensionKey, self::$extensionHasAutoloadConfiguration)) {
|