Index: t3lib/class.t3lib_extmgm.php =================================================================== --- t3lib/class.t3lib_extmgm.php (revision 8774) +++ t3lib/class.t3lib_extmgm.php (working copy) @@ -712,12 +712,14 @@ * * @param string $name is the name of the module, refer to conf.php of the module. * @param string $path is the absolute path to the module directory inside of which "index.php" and "conf.php" is found. + * @param string $scriptName is filename of the module, default is index.php. * @return void */ - public static function addModulePath($name, $path) { + public static function addModulePath($name, $path, $scriptName = 'index.php') { global $TBE_MODULES; $TBE_MODULES['_PATHS'][$name] = $path; + $TBE_MODULES['scriptName'][$name] = $scriptName; } /** Index: typo3/mod.php =================================================================== --- typo3/mod.php (revision 8774) +++ typo3/mod.php (working copy) @@ -48,7 +48,8 @@ $MCONF['_'] = 'mod.php?M=' . rawurlencode($temp_M); require($temp_path . 'conf.php'); $BACK_PATH = ''; - require($temp_path . 'index.php'); + $scriptName = isset($TBE_MODULES['scriptName'][$temp_M]) ? $TBE_MODULES['scriptName'][$temp_M] : 'index.php'; + require($temp_path . $scriptName); $isDispatched = TRUE; } else { if (is_array($TBE_MODULES['_dispatcher'])) {