Bug #22813 ยป bug_14623.diff
typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie) | ||
---|---|---|
protected function isClassAvailable($className, array $config = NULL) {
|
||
if (class_exists($className)) {
|
||
return true;
|
||
} elseif ($config) {
|
||
} else {
|
||
if ($config === NULL) {
|
||
$config = array();
|
||
}
|
||
$pluginConfiguration =& $GLOBALS['TSFE']->tmpl->setup['plugin.'][$className . '.'];
|
||
if (isset($pluginConfiguration['includeLibs']) && $pluginConfiguration['includeLibs']) {
|
||
$config['includeLibs'] = $pluginConfiguration['includeLibs'];
|