Index: t3lib/extjs/class.t3lib_extjs_extdirectapi.php =================================================================== --- t3lib/extjs/class.t3lib_extjs_extdirectapi.php (revision 6818) +++ t3lib/extjs/class.t3lib_extjs_extdirectapi.php (working copy) @@ -32,7 +32,7 @@ * @author Stefan Galinski * @package TYPO3 */ -class t3lib_ExtJs_ExtDirectAPI { +class t3lib_extjs_ExtDirectAPI { /** * Parses the ExtDirect configuration array "$GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect']" * and feeds the given typo3ajax instance with the resulting informations. The get parameter @@ -50,8 +50,8 @@ $filterNamespace = t3lib_div::_GET('namespace'); $javascriptNamespaces = array(); - if (is_array($GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'])) { - foreach ($GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'] as $javascriptName => $className) { + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_BASE']['ExtDirect'])) { + foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_BASE']['ExtDirect'] as $javascriptName => $className) { $splittedJavascriptName = explode('.', $javascriptName); $javascriptObjectName = array_pop($splittedJavascriptName); $javascriptNamespace = implode('.', $splittedJavascriptName); @@ -79,7 +79,7 @@ $javascriptNamespaces[$javascriptNamespace]['actions'][$javascriptObjectName][] = array( 'name' => $methodName, 'len' => $numberOfParameters - ); + ); } } } Index: t3lib/extjs/class.t3lib_extjs_extdirectrouter.php =================================================================== --- t3lib/extjs/class.t3lib_extjs_extdirectrouter.php (revision 6818) +++ t3lib/extjs/class.t3lib_extjs_extdirectrouter.php (working copy) @@ -32,7 +32,7 @@ * @author Stefan Galinski * @package TYPO3 */ -class t3lib_ExtJs_ExtDirectRouter { +class t3lib_extjs_ExtDirectRouter { /** * Dispatches the incoming calls to methods about the ExtDirect API. * @@ -88,10 +88,10 @@ protected function processRpc($singleRequest, $namespace) { try { $endpointName = $namespace . '.' . $singleRequest->action; - + // theoretically this can never happen, because of an javascript error on // the client side due the missing namespace/endpoint - if (!isset($GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'][$endpointName])) { + if (!isset($GLOBALS['TYPO3_CONF_VARS']['SC_BASE']['ExtDirect'][$endpointName])) { throw new t3lib_error_Exception('ExtDirect: Call to undefined endpoint: ' . $endpointName); } @@ -103,10 +103,10 @@ ); $endpointObject = t3lib_div::getUserObj( - $GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'][$endpointName], + $GLOBALS['TYPO3_CONF_VARS']['SC_BASE']['ExtDirect'][$endpointName], FALSE ); - + $response['result'] = call_user_func_array( array($endpointObject, $singleRequest->method), is_array($singleRequest->data) ? $singleRequest->data : array()