}
// handle controller aliasing
- if (!URL_LEGACY_MODE && isset($routeData['controller'])) {
+ if (empty($routeData['isImplicitController']) && !URL_LEGACY_MODE && isset($routeData['controller'])) {
$ciController = mb_strtolower($routeData['controller']);
// aliased controller, redirect to new URL
return;
}
+ if (empty($routeData['controller'])) $routeData['isImplicitController'] = true;
+
// resolve implicit application abbreviation for landing page controller
$landingPageApplication = $landingPage->getApplication();
$primaryApplication = ApplicationHandler::getInstance()->getPrimaryApplication();