+2009-08-10 Steffen Kamper <info@sk-typo3.de>
+
+ * Added feature #11651: Allow Extbase as framework for backend modules (thanks to Xavier Perseguers): modified mod.php to dispatch extbase driven modules
+
2009-08-09 Andreas Otto <andreas@otto-hanika.de>
* Added feature #4270: displayCond for flexforms, that affects on row of element (thanks to Tolleiv Nietsch and Rupert German)
2009-08-09 Andreas Otto <andreas@otto-hanika.de>
* Added feature #4270: displayCond for flexforms, that affects on row of element (thanks to Tolleiv Nietsch and Rupert German)
// Find module path:
$temp_M = (string)t3lib_div::_GET('M');
// Find module path:
$temp_M = (string)t3lib_div::_GET('M');
-if ($temp_path = $TBE_MODULES['_PATHS'][$temp_M]) {
- $MCONF['_'] = 'mod.php?M='.rawurlencode($temp_M);
- require($temp_path.'conf.php');
- $BACK_PATH='';
- require($temp_path.'index.php');
+if (substr($temp_M, 0, 3) === 'Tx_') {
+ $dispatcher = t3lib_div::makeInstance('Tx_Extbase_BackendDispatcher');
+ $dispatcher->callModule(substr($temp_M, 3));
- die('Value "'.htmlspecialchars($temp_M).'" for "M" was not found as a module');
+ if ($temp_path = $TBE_MODULES['_PATHS'][$temp_M]) {
+ $MCONF['_'] = 'mod.php?M=' . rawurlencode($temp_M);
+ require($temp_path . 'conf.php');
+ $BACK_PATH = '';
+ require($temp_path . 'index.php');
+ } else {
+ die('Value "' . htmlspecialchars($temp_M) . '" for "M" was not found as a module');
+ }
}
?>
\ No newline at end of file
}
?>
\ No newline at end of file