Feature #20838 » 11652_v3.diff
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);
|
||
}
|
||
}
|
||
- « Previous
- 1
- 2
- 3
- Next »