1
0
Fork 0

Issue 12338: Use redirect for "about" and "about/more"

This commit is contained in:
Michael 2022-12-11 19:50:10 +00:00
commit afd1dba774
2 changed files with 4 additions and 2 deletions

View file

@ -717,6 +717,10 @@ class App
$this->baseURL->redirect('search');
}
if (in_array($moduleName, ['about', 'about/more'])) {
$this->baseURL->redirect('friendica');
}
// Initialize module that can set the current theme in the init() method, either directly or via App->setProfileOwner
$page['page_title'] = $moduleName;