}
$parameters['controller'] = $controller;
+ $abbreviation = ControllerMap::getInstance()->getApplicationOverride($abbreviation, $controller);
$routeURL = RouteHandler::getInstance()->buildRoute($abbreviation, $parameters, $isACP);
if (!$isRaw && !empty($url)) {
$routeURL .= (strpos($routeURL, '?') === false) ? '?' : '&';
$url = $routeURL . $url;
- $abbreviation = ControllerMap::getInstance()->getApplicationOverride($abbreviation, $controller);
-
// handle applications
if (!PACKAGE_ID) {
$url = RouteHandler::getHost() . RouteHandler::getPath(['acp']) . ($isACP ? 'acp/' : '') . $url;