Project

General

Profile

Bug #23090 ยป 14988_v1.diff

Administrator Admin, 2010-07-03 16:48

View differences:

typo3/backend.php (Arbeitskopie)
$hasExtDirectRouter = FALSE;
if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect']) && is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'])) {
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'] as $key => $value) {
if (strpos($key, 'TYPO3.Backend') !== FALSE) {
if (strpos($key, 'TYPO3.ExtDirect') !== FALSE) {
$hasExtDirectRouter = TRUE;
break;
}
}
}
if ($hasExtDirectRouter) {
$this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Backend', NULL, FALSE);
$this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.ExtDirect', NULL, FALSE);
}
$this->generateJavascript();
    (1-1/1)