<?php
namespace wcf\system\request;
-use wcf\util\StringUtil;
-
use wcf\system\exception\IllegalLinkException;
use wcf\system\exception\SystemException;
use wcf\system\menu\page\PageMenu;
use wcf\system\SingletonFactory;
use wcf\system\WCF;
use wcf\util\HeaderUtil;
+use wcf\util\StringUtil;
/**
* Handles http requests.
<?php
namespace wcf\system\request;
-use wcf\system\menu\page\PageMenu;
-
use wcf\system\exception\SystemException;
+use wcf\system\menu\page\PageMenu;
/**
* Route implementation to resolve HTTP requests.
// only the controller was given and matches default, omit routing
$ignoreController = true;
}
- else {
+ else if (!RequestHandler::getInstance()->isACPRequest()) {
$landingPage = PageMenu::getInstance()->getLandingPage();
if ($landingPage !== null && ($landingPage->getController() == $components['controller'])) {
$ignoreController = true;