Project

General

Profile

Bug #22154 » 13604_v2.patch

Administrator Admin, 2010-04-08 18:44

View differences:

t3lib/class.t3lib_loadmodules.php (working copy)
//
$this->absPathArray = $modulesArray['_PATHS'];
unset($modulesArray['_PATHS']);
// unset the array for calling external backend module dispatchers in typo3/mod.php
unset($modulesArray['_dispatcher']);
// unset the array for calling backend modules based on external backend module dispatchers in typo3/mod.php
unset($modulesArray['_configuration']);
/*
With the above data for modules the result of this function call will be:
......
}
// Check for own way of configuring module
if (is_array($GLOBALS['TBE_MODULES'][$name]['configureModuleFunction'])) {
$obj = $GLOBALS['TBE_MODULES'][$name]['configureModuleFunction'];
if (is_array($GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'])) {
$obj = $GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'];
if (is_callable($obj)) {
return call_user_func($obj, $name, $fullpath);
}
(2-2/2)