src/Controller/IndexController.php
public function indexAction()
    {
        $auth = $this->Auth();
        $config = $this->config;
        if (array_key_exists('startpage', $config['view_manager']['template_map'])) {
            $this->layout()->setTerminal(true)->setTemplate('startpage');
        }
        return ['auth' => $auth];
    }
public function indexAction()
    {
        $auth = $this->Auth();
        $config = $this->config;
        if (array_key_exists('startpage', $config['view_manager']['template_map'])) {
            $this->layout()->setTerminal(true)->setTemplate('startpage');
        }
        return ['auth' => $auth];
    }
public function indexAction ( ) { $ auth = $ this -> Auth ( ) ; $ config = $ this -> config ; if ( array_key_exists ( 'startpage' , $ config [ 'view_manager' ] [ 'template_map' ] ) ) { $ this -> layout ( ) -> setTerminal ( true ) -> setTemplate ( 'startpage' ) ; } return [ 'auth' => $ auth ] ; }
Home site
Home site