auth :( $enabled = Icinga::app()->moduleManager()->listEnabledModules(); $default = array('docs', 'certificates'); if (count(array_diff($enabled, $default)) === 0) { if ($this->action_name !== 'welcome') { $this->_forward('welcome'); } } else { $this->_forward('index', 'dashboard'); } } /** * */ public function welcomeAction() { } } // @codingStandardsIgnoreEnd