Bug #24122 ยป 16463_be_modules_for_non_admins.patch
t3lib/class.t3lib_loadmodules.php (working copy) | ||
---|---|---|
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);
|
||
$MCONF = call_user_func($obj, $name, $fullpath);
|
||
if ($this->checkModAccess($name, $MCONF) !== TRUE) {
|
||
return FALSE;
|
||
}
|
||
return $MCONF;
|
||
}
|
||
}
|
||