Reverted to old controller
This commit is contained in:
parent
e96dbbe7f7
commit
36a922d312
|
@ -253,13 +253,9 @@ if (strlen($a->module)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Controller class routing
|
// Controller class routing
|
||||||
$classes = ['Friendica\\Module\\' . ucfirst($a->module), 'Friendica\\Module\\' . ucfirst($a->module) . 'Module'];
|
if (! $a->module_loaded && class_exists('Friendica\\Module\\' . ucfirst($a->module))) {
|
||||||
foreach ($classes as $class) {
|
$a->module_class = 'Friendica\\Module\\' . ucfirst($a->module);
|
||||||
if (!$a->module_loaded && class_exists($class)) {
|
|
||||||
$a->module_class = $class;
|
|
||||||
$a->module_loaded = true;
|
$a->module_loaded = true;
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue