/** * */ function init() { if (CoreHelper::checkLogin() && CoreHelper::isGuest()) { return $this->redirect('/'); } }