Bug #21505 ยป 12518.diff
typo3/sysext/reports/mod/index.php (working copy) | ||
---|---|---|
$reportClass = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports'][$extKey][$reportName]['report'];
|
||
$title = $GLOBALS['LANG']->sL($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports'][$extKey][$reportName]['title']);
|
||
// support common syntax EXT:extkey/path_to_file:classname
|
||
if (substr($reportClass, 0, 4) === 'EXT:') {
|
||
list($extKey, $local) = explode('/', substr($reportClass, 4), 2);
|
||
if (!empty($extKey) && !empty($local) && t3lib_extMgm::isLoaded($extKey)) {
|
||
$parts = explode(':', t3lib_extMgm::extPath($extKey) . $local);
|
||
$reportClass = array_pop($parts);
|
||
$filename = implode(':', $parts);
|
||
t3lib_div::requireOnce($filename);
|
||
}
|
||
}
|
||
$reportInstance = t3lib_div::makeInstance($reportClass, $this);
|
||
if ($reportInstance instanceof tx_reports_Report) {
|