Project

General

Profile

Bug #19620 ยป 0009802.patch

Administrator Admin, 2008-11-17 17:30

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
* @link http://bugs.typo3.org/view.php?id=9654
* @TODO This method was introduced in TYPO3 4.3 and can be removed if the autoload was integrated
*/
protected function isClassAvailable($className, array $config) {
protected function isClassAvailable($className, array $config = NULL) {
if (class_exists($className)) {
return true;
} else {
} elseif ($config) {
$pluginConfiguration =& $GLOBALS['TSFE']->tmpl->setup['plugin.'][$className . '.'];
if (isset($pluginConfiguration['includeLibs']) && $pluginConfiguration['includeLibs']) {
$config['includeLibs'] = $pluginConfiguration['includeLibs'];
    (1-1/1)