get->logout == true) { $session->logout(); $session->redirect($inicio->url); } if($user->isLoggedin()) { $session->redirect($pages->get('/es/gestion/panel/')->httpUrl); } else { $session->redirect($pages->get('/es/gestion/acceder/')->httpUrl); }