Project

General

Profile

Feature #20838 » 11652_v3.diff

Administrator Admin, 2009-08-26 12:54

View differences:

t3lib/class.t3lib_loadmodules.php (working copy)
*/
function checkMod($name, $fullpath) {
// Check for own way of configuring module
if (is_array($GLOBALS['TBE_EXTBASE_MODULES'][$name]['configureModuleFunction'])) {
$obj = $GLOBALS['TBE_EXTBASE_MODULES'][$name]['configureModuleFunction'];
if (is_array($GLOBALS['TBE_MODULES'][$name]['configureModuleFunction'])) {
$obj = $GLOBALS['TBE_MODULES'][$name]['configureModuleFunction'];
if (is_callable($obj)) {
$MCONF = array();
$MLANG = array();
return call_user_func($obj, $name, $fullpath, $MCONF, $MLANG);
return call_user_func($obj, $name, $fullpath);
}
}
(3-3/3)