namespace wcf\system\request;
use wcf\data\DatabaseObjectDecorator;
use wcf\system\application\ApplicationHandler;
-use wcf\system\menu\page\IPageMenuItemProvider;
use wcf\system\menu\page\PageMenu;
use wcf\system\request\RouteHandler;
use wcf\system\Regex;
$controller = 'Index';
}
else {
- // build link to landing page
- $landingPage = PageMenu::getInstance()->getLandingPage();
- if ($landingPage instanceof IPageMenuItemProvider) {
- return $landingPage->getLink();
- }
- else {
- $controller = $landingPage->getController();
- $abbreviation = $landingPage->getApplication();
- $url = $landingPage->menuItemLink;
- }
+ return PageMenu::getInstance()->getLandingPage()->getProcessor()->getLink();
}
}