* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team */ // {{{ICINGA_LICENSE_HEADER}}} # namespace Icinga\Application\Controllers; use Icinga\Web\ActionController; use Icinga\Application\Icinga; /** * Class IndexController * @package Icinga\Application\Controllers */ class IndexController extends ActionController { /** * @var bool */ protected $modifiesSession = true; /** * */ public function preDispatch() { parent::preDispatch(); // -> auth :( if ($this->action_name !== 'welcome') { $this->redirect('index/welcome'); } } /** * */ public function welcomeAction() { } } // @codingStandardsIgnoreEnd